Commit afab007
committed
hooks(fix): add doctest cleanup for tmux < 3.0 compatibility
why: On tmux 2.6-2.8, unset_hook without index doesn't clear all
array entries, causing state leakage between doctest examples
what:
- Add unset_hook cleanup after first set_hooks example
- Ensures clean state before clear_existing=True example
Squash target: 8a37592 (hooks refactor: rename set_hooks_bulk)1 parent 7045630 commit afab007
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
449 | 449 | | |
450 | 450 | | |
451 | 451 | | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
452 | 455 | | |
453 | 456 | | |
454 | 457 | | |
| |||
0 commit comments