mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
macos: send caps lock state to UCKeyTranslate
This commit is contained in:
@ -111,6 +111,7 @@ pub fn translate(
|
|||||||
.ctrl = if (mods.ctrl) true else false,
|
.ctrl = if (mods.ctrl) true else false,
|
||||||
.meta = if (mods.super) true else false,
|
.meta = if (mods.super) true else false,
|
||||||
.shift = if (mods.shift) true else false,
|
.shift = if (mods.shift) true else false,
|
||||||
|
.caps_lock = if (mods.caps_lock) true else false,
|
||||||
}).ucKeyTranslate();
|
}).ucKeyTranslate();
|
||||||
|
|
||||||
// We use 4 here because the Chromium source code uses 4 and Chrome
|
// We use 4 here because the Chromium source code uses 4 and Chrome
|
||||||
|
Reference in New Issue
Block a user