diff options
author | absorber <absorber@users.noreply.github.com> | 2021-05-08 03:12:34 +0000 |
---|---|---|
committer | Christian Duerr <contact@christianduerr.com> | 2021-05-09 21:08:18 +0000 |
commit | 605ddd9898f36b4993a3dbacc15382455dd82448 (patch) | |
tree | 44932204e6afbb0db76cea76311005302aaf5531 | |
parent | c5794d5b796ac964d071d7a18af1e8526bdb88ff (diff) | |
download | alacritty-605ddd9898f36b4993a3dbacc15382455dd82448.tar.gz alacritty-605ddd9898f36b4993a3dbacc15382455dd82448.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(), _ => (), } |