mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 08:16:13 +03:00
apprt/gtk: comment on what is going on with keyval mapping
This commit is contained in:
@ -906,6 +906,8 @@ fn keyEvent(
|
||||
}
|
||||
}
|
||||
|
||||
// Before using the physical key, try to convert the keyval
|
||||
// directly to a key. This allows the use of key remapping.
|
||||
if (gtk_key.keyFromKeyval(keyval)) |key| {
|
||||
break :key key;
|
||||
}
|
||||
|
Reference in New Issue
Block a user