Commit ae5d068
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 7084ae3 commit ae5d068
1 file changed
+3
-0
lines changed| 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