diff options
author | Blaž Hrastnik | 2020-10-01 09:44:12 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2020-10-01 09:44:12 +0000 |
commit | 5945815d978da07d0970502d481c17ef02525c4d (patch) | |
tree | db8e77f9aef2d14977588d73d71319822c5ef7ff /helix-core/src | |
parent | d9d59cd209c9cbd1397ed4d05b1d14a6aad514bf (diff) |
Fix cursor rendering & placement on append mode.
Diffstat (limited to 'helix-core/src')
-rw-r--r-- | helix-core/src/state.rs | 3 |
1 files changed, 3 insertions, 0 deletions
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<Syntax>, } @@ -46,6 +48,7 @@ impl State { selection: Selection::single(0, 0), mode: Mode::Normal, syntax: None, + restore_cursor: false, } } |