mirror of
https://github.com/alacritty/alacritty
synced 2024-10-14 11:42:28 +00:00
Add Ctrl+c binding for exiting hint mode
This commit is contained in:
parent
7f6b7acfeb
commit
f9d83a2836
|
@ -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(),
|
||||
_ => (),
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue