You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: site/docs/commands.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,8 @@ XenoAtom.Terminal.UI provides a lightweight **command system** to make keyboard
8
8
9
9
Commands are **retained-mode**, registered on visuals (local) or on the `TerminalApp` (global), and routed using the same focus → parent traversal as other keyboard handling.
10
10
11
+
`TerminalApp` registers a default global quit command (`TerminalApp.DefaultQuitCommandId`, value `TerminalApp.Quit`). Replacing or removing that command after the app starts also updates the live app-exit shortcut, not just command discovery surfaces.
Assert.IsFalse(rendered.Contains("Ctrl+Q",StringComparison.Ordinal),"The command bar should stop showing the original quit gesture after replacement.");
110
+
Assert.IsFalse(rendered.Contains("Quit",StringComparison.Ordinal),"The command bar should stop showing the original quit label after replacement.");
0 commit comments