From 5945815d978da07d0970502d481c17ef02525c4d Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Thu, 1 Oct 2020 18:44:12 +0900 Subject: Fix cursor rendering & placement on append mode. --- helix-core/src/state.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'helix-core/src') diff --git a/helix-core/src/state.rs b/helix-core/src/state.rs index c17e9c90..36ca221c 100644 --- a/helix-core/src/state.rs +++ b/helix-core/src/state.rs @@ -20,6 +20,8 @@ pub struct State { pub selection: Selection, pub mode: Mode, + pub restore_cursor: bool, + // pub syntax: Option, } @@ -46,6 +48,7 @@ impl State { selection: Selection::single(0, 0), mode: Mode::Normal, syntax: None, + restore_cursor: false, } } -- cgit v1.2.3-70-g09d2