From c1e4b66e359f827db2756d1b300f4778b232f52a Mon Sep 17 00:00:00 2001 From: nsfisis Date: Thu, 1 Dec 2022 00:01:55 +0900 Subject: alacritty: workaround for Yen key --- .config/alacritty/alacritty.macos.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/alacritty/alacritty.macos.yml b/.config/alacritty/alacritty.macos.yml index b5f7359..7ab36d5 100644 --- a/.config/alacritty/alacritty.macos.yml +++ b/.config/alacritty/alacritty.macos.yml @@ -17,3 +17,8 @@ key_bindings: - { key: Key0, mods: Command, action: ResetFontSize } - { key: Key1, mods: Command, action: IncreaseFontSize } - { key: Key2, mods: Command, action: DecreaseFontSize } + # Workaround: + # Alacritty v0.11.0-rc1 or later emits Yen symbol when you type Yen key + # even if you set "backslash" to "a character by Yen key". + # See also: https://github.com/rust-windowing/winit/issues/2577 + - { key: Yen, chars: "\x5c" } -- cgit v1.2.3-70-g09d2