mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-21 23:01:05 +00:00
fix: input offset is not reset when renaming with --cursor=start and the filename is too long (#575)
This commit is contained in:
parent
28870ad26e
commit
087448fd94
1 changed files with 1 additions and 0 deletions
|
|
@ -46,6 +46,7 @@ impl Input {
|
|||
// Set cursor after reset
|
||||
if let Some(cursor) = opt.cfg.cursor {
|
||||
self.snaps.current_mut().cursor = cursor;
|
||||
self.move_(0);
|
||||
}
|
||||
|
||||
render!();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue