Skip to content

0.6.2 - Focus finds torn-out tabs

Pre-release
Pre-release

Choose a tag to compare

@timeToy34 timeToy34 released this 24 Aug 19:30
· 20 commits to main since this release

Focus finds a tab you dragged out of Windows Terminal into its own window. Terminal hosts every window in one process - that is what makes tab tear-out possible - so the torn-out window has the same process id as the one it left. The app took the first Terminal window of that process and looked for the tab there only, so it raised the old window and reported the tab missing. Now it keeps every Terminal window of the process, reads each one's tabs once, and raises the window already showing the tab, or else the one holding it and selects it there. The lane's name is tried before the project's across all of them, as before within one. When nothing matches it still raises the topmost window and the message lists the tabs of every window, so you can see what is there.

One window costs no extra work, and consoles, desktop apps and IDEs behave exactly as they did. Verified on Windows Terminal 1.24 with three windows in one process: the tab in a window behind another, the wrong tab selected in the right window, and the window minimized all come forward showing the tab.

Upgrade: unzip, run once, delete the folder - the running copy is retired and replaced automatically. No agent restarts needed; the hook is unchanged.