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; status = Status::Captured;
} }
Named::Tab => { Named::Tab => {
if modifiers.shift() { if !modifiers.control() {
editor.action(Action::Unindent); if modifiers.shift() {
} else { editor.action(Action::Unindent);
editor.action(Action::Indent); } else {
editor.action(Action::Indent);
}
status = Status::Captured;
} }
status = Status::Captured;
} }
_ => (), _ => (),
}, },