fix(web): swallow key releases for presses the terminal never saw

Keydowns handled outside the terminal (keybindings via beforeKey, copy
and paste shortcuts, AltGraph text) now record their physical code and
skip the matching keyup, so Kitty report-event-types sessions no longer
receive a release for a press that was suppressed locally. beforeKey is
not re-consulted on keyup because it runs side effects. Stale
suppressions are dropped on blur.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
748d3a9da7Wout Stiens committed on 7/31/2026, 7:30:34 AMparent94e34c7
1 file changedLine totals unavailable