fix: allow Escape in terminal, exit fullscreen on click outside
- Remove global Escape key listener that intercepted Escape before xterm.js could receive it, breaking vim/tmux/etc. - Add click-outside-to-exit for fullscreen: clicking on the padding area around .terminal-page-content or .terminal-fullscreen-header exits fullscreen. Clicks inside content or header are ignored. - Add 8px padding/gap to .terminal-page.fullscreen to create a clickable border area around the terminal. - Keep Exit button and Alt+Shift+F as explicit exit methods. Quality gates: tsc --noEmit (clean), pytest (208 passed, 6 pre-existing)
This commit is contained in:
@@ -2887,8 +2887,8 @@ a.nav-item,
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: 1000;
|
||||
padding: 0;
|
||||
gap: 0;
|
||||
padding: 8px;
|
||||
gap: 8px;
|
||||
background: #1e1e1e;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user