Made left/right work in finder
This commit is contained in:
parent
a311f49e4b
commit
e4f4866411
2 changed files with 1 additions and 2 deletions
|
|
@ -24,5 +24,4 @@
|
|||
|
||||
## Issues to fix
|
||||
|
||||
- Can't use left/right to edit text in finder
|
||||
- Pressing return on `foo {|bar` should wrap `bar` in a block
|
||||
|
|
@ -314,7 +314,7 @@ impl Finder {
|
|||
return Ok(Resp::end(None));
|
||||
}
|
||||
Some(Action::Go) => return Ok(Resp::end(None)),
|
||||
Some(Action::Move(dir, Dist::Char, false, false)) => {
|
||||
Some(Action::Move(dir @ (Dir::Up | Dir::Down), Dist::Char, false, false)) => {
|
||||
match dir {
|
||||
Dir::Up => {
|
||||
self.selected = (self.selected + self.results.len().saturating_sub(1))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue