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,6 +984,7 @@ where
status = Status::Captured; status = Status::Captured;
} }
Named::Tab => { Named::Tab => {
if !modifiers.control() {
if modifiers.shift() { if modifiers.shift() {
editor.action(Action::Unindent); editor.action(Action::Unindent);
} else { } else {
@ -991,6 +992,7 @@ where
} }
status = Status::Captured; status = Status::Captured;
} }
}
_ => (), _ => (),
}, },
Event::Keyboard(KeyEvent::ModifiersChanged(modifiers)) => { Event::Keyboard(KeyEvent::ModifiersChanged(modifiers)) => {