mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 08:46:08 +03:00
input: never report associated text on key release
Associated text should only be reported when it was generated from the key event. To my knowledge, there are no release events which produce text. This now matches kitty reporting for release events.
This commit is contained in:
@ -186,7 +186,7 @@ fn kitty(
|
||||
}
|
||||
}
|
||||
|
||||
if (self.kitty_flags.report_associated) associated: {
|
||||
if (self.kitty_flags.report_associated and seq.event != .release) associated: {
|
||||
if (comptime builtin.target.isDarwin()) {
|
||||
// macOS has special logic because alt+key can produce unicode
|
||||
// characters. If we are treating option as alt, then we do NOT
|
||||
|
Reference in New Issue
Block a user