1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-25 14:22:37 +03:00

ctrl-space should send NUL

This commit is contained in:
Wez Furlong 2020-03-28 18:32:20 -07:00
parent 3fd4e74a81
commit 54cc62ccf9

View File

@ -549,7 +549,7 @@ impl TerminalState {
}
Char(c)
if (c.is_ascii_alphanumeric() || c.is_ascii_punctuation())
if (c.is_ascii_alphanumeric() || c.is_ascii_punctuation() || c == ' ')
&& mods.contains(KeyModifiers::CTRL) =>
{
let c = ((c as u8) & 0x1f) as char;