Don't capture ctrl+tab in text box, fixes #123

This commit is contained in:
Jeremy Soller 2025-01-17 09:49:30 -07:00
parent 686185b0f1
commit bde7e2bfc2
No known key found for this signature in database
GPG key ID: D02FD439211AF56F

View file

@ -984,12 +984,14 @@ where
status = Status::Captured;
}
Named::Tab => {
if modifiers.shift() {
editor.action(Action::Unindent);
} else {
editor.action(Action::Indent);
if !modifiers.control() {
if modifiers.shift() {
editor.action(Action::Unindent);
} else {
editor.action(Action::Indent);
}
status = Status::Captured;
}
status = Status::Captured;
}
_ => (),
},