diff options
author | absorber <absorber@users.noreply.github.com> | 2021-05-08 03:12:34 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-08 03:12:34 +0000 |
commit | f9d83a28368f4582727160876bd2361afe61708b (patch) | |
tree | 4c6065ea4b4f75c971c337b3a8cedb59a69fb011 | |
parent | 7f6b7acfeb016cbc47f68e5b2ccafae2395da92e (diff) | |
download | alacritty-f9d83a28368f4582727160876bd2361afe61708b.tar.gz alacritty-f9d83a28368f4582727160876bd2361afe61708b.zip |
Add Ctrl+c binding for exiting hint mode
-rw-r--r-- | alacritty/src/display/hint.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alacritty/src/display/hint.rs b/alacritty/src/display/hint.rs index 76eb4b95..5e770bcf 100644 --- a/alacritty/src/display/hint.rs +++ b/alacritty/src/display/hint.rs @@ -115,8 +115,8 @@ impl HintState { '\x08' | '\x1f' => { self.keys.pop(); }, - // Cancel hint highlighting on ESC. - '\x1b' => self.stop(), + // Cancel hint highlighting on ESC/Ctrl+c. + '\x1b' | '\x03' => self.stop(), _ => (), } |