mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-01-17 18:37:07 +00:00
key.Binding and basic parsing
This commit is contained in:
@@ -486,6 +486,7 @@ fn keyCallback(
|
||||
const tracy = trace(@src());
|
||||
defer tracy.end();
|
||||
|
||||
//log.info("KEY {} {} {} {}", .{ key, scancode, mods, action });
|
||||
_ = scancode;
|
||||
|
||||
if (action == .press and mods.super) {
|
||||
@@ -542,7 +543,6 @@ fn keyCallback(
|
||||
}
|
||||
}
|
||||
|
||||
//log.info("KEY {} {} {} {}", .{ key, scancode, mods, action });
|
||||
if (action == .press or action == .repeat) {
|
||||
const c: u8 = switch (key) {
|
||||
// Lots more of these:
|
||||
|
||||
Reference in New Issue
Block a user