contour
contour copied to clipboard
`CreateNewTab` either keeps creating intermittent shells or badly handles exit
Contour Terminal version
0.6.1.7494
Installer source
GitHub: release page
Operating System
MacOS San Sequoia 15.3.1
Architecture
ARM64
Other Software
zsh 5.9 (arm64-apple-darwin24.0)
Steps to reproduce
- Open contour and
echo $$. - Something like
16957appears. - Press the
CreateNewTabkeybind. echo $$:18158exitfrom this shell/tab.- Another new empty tab is created??? Verify with
echo $$. 18155exitagain, observe a split second hang, then... another new empty tab is created???echo $$:18153exit; echo $$:18152exitagain... it looks like now we are back to the originally started shell.echo $$:16957
So this was 4 exits to get back. However, depending on how quickly the CreateNewTab keybind is pressed, it might be 6 or 8 exits.
Expected Behavior
One CreateNewTab creates exactly 1 new shell, not an arbitrary number of such.
Actual Behavior
—
Additional notes
This seems to me to be a lack of debouncing issue. Depending on how long the button press happens which might be influenced by system factors and latency, contour seems to create multiple zsh subprocesses.
keybind behavior was changed at some point in the past, to become not repeatable, so if you press CreateNewTab it will be executed exactly once, this resolves the issue in my understanding, correct?