summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--alacritty/src/display/hint.rs4
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(),
_ => (),
}