Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Default terminal

On Windows 11 and Windows 10 22H2, Settings > Default terminal makes Voyager7 the terminal that console programs open in when started from Run, Explorer or the Start menu, like Windows Terminal's "Default terminal application". The choices are Let Windows decide, Windows Console Host, Voyager7 and, when installed, Windows Terminal. The setting is per user, is written only when you pick an entry, and uninstalling Voyager7 puts back what was there before. Each console opens in a new Voyager7 window. Windows hands the console to Microsoft's OpenConsole first, so Voyager7 needs the newer ConPTY component (installed by default) or Windows Terminal. "Let Windows decide" means the console window on Windows 10 and Windows Terminal on Windows 11. Unpackaged programs cannot appear in Windows Terminal's or Windows Settings' own lists. Because of that, Windows Terminal's Settings shows "Let Windows decide" while Voyager7 is the default and writes it back on any Save, which takes the default away from Voyager7. Voyager7's Settings always shows the real current default and says when another app changed it; pick Voyager7 again to get it back. See ADR 0014.

Windows 7, 8.1 and older Windows 10 builds have no such setting. There, Settings > Default terminal offers Windows Console Host and Voyager7 (hook): Voyager7 then loads a small hook (v7-defterm.dll) into Explorer at logon (a per-user Run entry, no administrator), and console programs that Explorer starts (Run box, Start menu, double-click) open in a Voyager7 tab instead of a console window. The program's exit code still reaches whoever started it, and if Voyager7 cannot open, the program runs in a normal console window. Some antivirus programs report or block loading a DLL into Explorer; then consoles keep opening in console windows. Programs run as administrator, and those started by other programs than Explorer, keep their console window. v7-default-terminal-exclude = far.exe, game.exe names programs that always keep theirs. Choosing Windows Console Host (or uninstalling) removes the Run entry and unloads the hook. The DLL comes with the Setup and the ZIP; standalone-min needs it beside voyager7.exe. See ADR 0015.