contour
contour copied to clipboard
Terminal tabs: `SwitchTabToLeft`/`SwitchTabToRight` keybind is executed not in the active window
Contour Terminal version
0.6.1.7494
Installer source
GitHub: release page
Operating System
MacOS San Sequoia 15.3.1
Architecture
ARM64
Other Software
—
Steps to reproduce
- Start contour normally.
echo 1to write a1into the first shell- create a new tab
echo 2to write a2into the second shell- create a new tab
echo 3to write a3into the third shell
Now three windows will be open, with the oldest originally opened one and the newest one showing 3, while the middle one is showing 2.
With the middle window focused, execute the SwitchTabToRight keybind. Observe that the oldest window (which previously showed the 3 shell, just like the newest window) now switched to the 1 shell.
No matter which window is actually in focus, it looks like the switch keybinds are always handled by the original/main/oldest window of the process.
Expected Behavior
The keybind should be handled by the window that is currently in focus.
Interestingly, other types of keybinds, such as ViNormalMode or ScrollMarkUp are properly handled by the "active" window.
Actual Behavior
–
Additional notes
No response
See comment: https://github.com/contour-terminal/contour/issues/1726 i think we should not manage tabs between windows