mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 08:16:13 +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
|
if (self.event.action != .press and
|
||||||
self.event.action != .repeat) return "";
|
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 we match a PC style function key then that is our result.
|
||||||
if (pcStyleFunctionKey(
|
if (pcStyleFunctionKey(
|
||||||
self.event.key,
|
self.event.key,
|
||||||
|
Reference in New Issue
Block a user