Commit d4e4ab7
authored
- read the current window id from TMUX_PANE instead of assuming the new
window is `{end}`
- select that window id so the temporary overlay is focused even when
tmux reuses skipped numbers
- prevent focus jumps and missing highlights when window indexes are
non-contiguous
1 parent 6722261 commit d4e4ab7
1 file changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
345 | 355 | | |
346 | 356 | | |
347 | 357 | | |
| |||
758 | 768 | | |
759 | 769 | | |
760 | 770 | | |
761 | | - | |
| 771 | + | |
| 772 | + | |
762 | 773 | | |
763 | 774 | | |
764 | 775 | | |
| |||
0 commit comments