mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-01-02 11:32:39 +00:00
macOS: Do not send control characters as UTF8 keyboard text
Fixes a regression where `ctrl+enter` was not encoding properly since our input stack changes.
This commit is contained in:
@@ -35,7 +35,7 @@ pub fn encode(
|
||||
self: *const KeyEncoder,
|
||||
buf: []u8,
|
||||
) ![]const u8 {
|
||||
// log.warn("KEYENCODER self={}", .{self.j});
|
||||
// log.warn("KEYENCODER self={}", .{self.*});
|
||||
if (self.kitty_flags.int() != 0) return try self.kitty(buf);
|
||||
return try self.legacy(buf);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user