mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-07-03 12:28:13 +08:00
Use onSubmit for the plain Enter → next-match behavior, which respects IME composition state. Keep onKeyPress only for Shift+Enter (previous match), returning .ignored for plain Enter so the IME can process it.