Use tab and left tab to navigate matches
This commit is contained in:
committed by
Kenny Levinsen
parent
76e9d267df
commit
6690cda29f
@@ -408,13 +408,13 @@ impl<'a> Widget for Launcher<'a> {
|
||||
}
|
||||
};
|
||||
}
|
||||
keysyms::XKB_KEY_Right => {
|
||||
keysyms::XKB_KEY_Tab => {
|
||||
if !self.matches.is_empty() && self.offset < self.matches.len() - 1 {
|
||||
self.offset += 1;
|
||||
self.dirty = true;
|
||||
}
|
||||
}
|
||||
keysyms::XKB_KEY_Left => {
|
||||
keysyms::XKB_KEY_ISO_Left_Tab => {
|
||||
if !self.matches.is_empty() && self.offset > 0 {
|
||||
self.offset -= 1;
|
||||
self.dirty = true;
|
||||
|
||||
Reference in New Issue
Block a user