fix control + space support
This commit is contained in:
parent
f2b937ef27
commit
7e31cef391
1 changed files with 6 additions and 1 deletions
|
|
@ -778,7 +778,12 @@ where
|
|||
status = Status::Captured;
|
||||
}
|
||||
Named::Space => {
|
||||
terminal.input_scroll(format!("{}{}", alt_prefix, " ").into_bytes());
|
||||
if modifiers.control() {
|
||||
// Send NUL character (\x00) for Ctrl + Space
|
||||
terminal.input_scroll(b"\x00".to_vec());
|
||||
} else {
|
||||
terminal.input_scroll(format!("{}{}", alt_prefix, " ").into_bytes());
|
||||
}
|
||||
status = Status::Captured;
|
||||
}
|
||||
Named::Tab => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue