mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 00:06:09 +03:00
input: legacy encoding never emits sequence during dead key state
This commit is contained in:
@ -36,6 +36,9 @@ pub fn legacy(
|
||||
if (self.event.action != .press and
|
||||
self.event.action != .repeat) return "";
|
||||
|
||||
// If we're in a dead key state then we never emit a sequence.
|
||||
if (self.event.composing) return "";
|
||||
|
||||
// If we match a PC style function key then that is our result.
|
||||
if (pcStyleFunctionKey(
|
||||
self.event.key,
|
||||
|
Reference in New Issue
Block a user