launcher: fix bug that resets cursor on enter
This commit is contained in:
committed by
Kenny Levinsen
parent
f6cebdeba4
commit
2c8b27bb5a
@@ -384,7 +384,6 @@ impl<'a> Widget for Launcher<'a> {
|
||||
self.tx.send(Cmd::Exit).unwrap();
|
||||
}
|
||||
_ => {
|
||||
self.cursor = 0;
|
||||
if self.matches.len() > self.offset {
|
||||
let d = &self.matches[self.offset];
|
||||
if let Some(exec) = &d.exec {
|
||||
|
||||
Reference in New Issue
Block a user