fix: incorrect offset on goto mode cancel
This commit is contained in:
parent
b3f2a8465d
commit
390a56714a
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ pub fn create(a: Allocator, _: command.Context) !*Self {
|
|||
if (tui.current().mainview.dynamic_cast(mainview)) |mv_| if (mv_.get_editor()) |editor| {
|
||||
self.* = .{
|
||||
.a = a,
|
||||
.start = editor.get_primary().cursor.row,
|
||||
.start = editor.get_primary().cursor.row + 1,
|
||||
};
|
||||
return self;
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue