aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md1
-rw-r--r--alacritty/src/input/keyboard.rs2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 91536648..0c49c81d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -26,6 +26,7 @@ Notable changes to the `alacritty_terminal` crate are documented in its
had multiple actions only performed the first action
- Leaking FDs when closing windows on Unix systems
- Config emitting errors for non-existent import paths
+- Kitty keyboard protocol reporting shifted key codes
## 0.13.2
diff --git a/alacritty/src/input/keyboard.rs b/alacritty/src/input/keyboard.rs
index b4c35741..fce5efbf 100644
--- a/alacritty/src/input/keyboard.rs
+++ b/alacritty/src/input/keyboard.rs
@@ -373,7 +373,7 @@ impl SequenceBuilder {
{
format!("{unicode_key_code}:{alternate_key_code}")
} else {
- alternate_key_code.to_string()
+ unicode_key_code.to_string()
};
Some(SequenceBase::new(payload.into(), SequenceTerminator::Kitty))