fix(editor): stop render clock running endlessly on restore
This commit is contained in:
parent
25556336b9
commit
86b91dc0de
1 changed files with 1 additions and 0 deletions
|
@ -298,6 +298,7 @@ pub const Editor = struct {
|
|||
self.last_find_query = if (query.len > 0) try self.a.dupe(u8, clipboard) else null;
|
||||
if (!try self.view.extract(&view_cbor))
|
||||
return error.RestoreView;
|
||||
self.scroll_dest = self.view.row;
|
||||
if (!try self.get_primary().cursor.extract(&primary_cbor))
|
||||
return error.RestoreCursor;
|
||||
var len = cbor.decodeArrayHeader(&find_history) catch return error.RestoryFindHistory;
|
||||
|
|
Loading…
Add table
Reference in a new issue