waveterm/frontend/app/view
Evan Simkowitz a2974a3e6d
Fix escape getting eaten by global event handler (#1668)
The terminal keydown handler was set to filter out all key bindings that
have a registered global handler, regardless of whether they actually
propagated or not. This allowed the global handlers to still work
despite the terminal input having precedence, but it also meant that
global key bindings that were invalid for the current context would
still get eaten and not sent to stdin.

Now, the terminal keydown handler will directly call the global handlers
so we can actually see whether or not the global key binding is valid.
If the global handler is valid, it'll be processed immediately and stdin
won't receive the input. If it's not handled, we'll let xterm pass it to
stdin. Because anything xterm doesn't handle gets sent to the
globally-registered version of the handler, we need to make sure we
don't do extra work to process an input we've already checked. We'll
store the last-handled keydown event as a static variable so we can
dedupe later calls for the same event to prevent doing double work.
2025-01-02 08:38:07 -08:00
..
chat Oops i actually made the tabs wrong (#1384) 2024-12-04 13:49:14 -08:00
codeeditor fix: bound code editor font size (#1581) 2024-12-19 14:10:19 -08:00
helpview Fix errors in loading of help view (#1501) 2024-12-11 16:09:47 -08:00
plotview Oops i actually made the tabs wrong (#1384) 2024-12-04 13:49:14 -08:00
preview relative markdown text (#1489) 2024-12-16 16:04:07 -08:00
quicktipsview Oops i actually made the tabs wrong (#1384) 2024-12-04 13:49:14 -08:00
sysinfo New Connections Configs (#1383) 2024-12-05 10:02:07 -08:00
term Fix escape getting eaten by global event handler (#1668) 2025-01-02 08:38:07 -08:00
vdom Oops i actually made the tabs wrong (#1384) 2024-12-04 13:49:14 -08:00
waveai Add support for Google AI models (#1612) 2024-12-27 14:52:38 -05:00
webview Terminal search (#1654) 2025-01-01 10:43:02 -08:00