mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
format
This commit is contained in:
parent
512a463758
commit
e5d05afafb
2 changed files with 3 additions and 2 deletions
|
|
@ -20,7 +20,8 @@ impl Input {
|
||||||
let snap = self.snap();
|
let snap = self.snap();
|
||||||
let idx = snap.idx(snap.cursor).unwrap_or(snap.len());
|
let idx = snap.idx(snap.cursor).unwrap_or(snap.len());
|
||||||
|
|
||||||
let step = Self::find_word_boundary(snap.value[idx..].chars(), opt.end_of_word, opt.end_of_word);
|
let step =
|
||||||
|
Self::find_word_boundary(snap.value[idx..].chars(), opt.end_of_word, opt.end_of_word);
|
||||||
self.move_(step as isize)
|
self.move_(step as isize)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue