42322041c4
app.tools.expand (Ctrl+O) was wired only through the editor's input path, so when a tool-approval prompt or other selection dialog took keyboard focus the key was delivered to that component and never reached the expand handler — a large truncated edit could not be expanded while the user was deciding whether to approve or deny it. Promote the shortcut to a global TUI input listener (matching the existing debug and branch/copy shortcuts) so it fires regardless of focus. It defers when the main transcript is not the active surface (a fullscreen/anchored overlay: agent hub, transcript viewer, log viewer, model picker) or when the focused component rebinds Ctrl+O for its own use (the tree selector's filter cycle). The editor-scoped handler is removed as a clean cutover. Fixes #7837