mirror of
https://github.com/aphrody-labs/opentui.git
synced 2026-10-13 21:08:53 +00:00
Core's key parser sets `meta` for Alt: a legacy `ESC a` sets only `meta`, and a Kitty Alt key sets `meta` and `option`. The embedded terminal mapped `meta` to Super, so legacy children got the plain letter for Alt+b, Alt+f and similar, and Kitty children got Alt+Super for Alt. Encode `alt || option || meta` as Alt and only `super` as Super; Kitty's own Meta bit, which the parser folds into `meta`, now also encodes as Alt. This changes the documented behavior; the embedded terminal docs now say that `meta` encodes as Alt. Issue: 066 Fixes #1594