From cc783adeb4fb5e0eb0abc8b8612446032f5d50f2 Mon Sep 17 00:00:00 2001 From: exoticus <56480961+exoticus@users.noreply.github.com> Date: Sat, 18 Apr 2020 19:24:34 +0200 Subject: [PATCH 01/10] added disable cursor animation in insert mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit current approach to disable cursor animation during typing relied on a hack, now it’s an option (default to true) whether to use cursor animations in insert mode --- src/editor/mod.rs | 3 +++ src/renderer/cursor_renderer/mod.rs | 24 +++++++++++++++--------- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/src/editor/mod.rs b/src/editor/mod.rs index db8f523..3645c61 100644 --- a/src/editor/mod.rs +++ b/src/editor/mod.rs @@ -39,6 +39,7 @@ pub struct Editor { pub default_style: Arc