mirror of
https://github.com/sxyazi/yazi.git
synced 2024-11-28 11:28:02 +03: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
@ -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…
Reference in New Issue
Block a user