diff options
author | Jan Hrastnik | 2020-06-24 18:59:35 +0000 |
---|---|---|
committer | Jan Hrastnik | 2020-06-24 18:59:35 +0000 |
commit | 6ba082697d4a930d4114e950a212f115bace47e9 (patch) | |
tree | 278c403c63a34899f8a175bf55deb035b0833c80 /helix-term/src/keymap.rs | |
parent | c3a23a1c0933900d795a1a5b67c3a305616ba8f2 (diff) |
added cursor rendering
Diffstat (limited to 'helix-term/src/keymap.rs')
-rw-r--r-- | helix-term/src/keymap.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/helix-term/src/keymap.rs b/helix-term/src/keymap.rs index 25bffd2e..44f4fc95 100644 --- a/helix-term/src/keymap.rs +++ b/helix-term/src/keymap.rs @@ -1,6 +1,11 @@ -use crossterm::event::{KeyCode, KeyEvent as Key, KeyModifiers as Modifiers}; +use crossterm::{ + event::{KeyCode, KeyEvent as Key, KeyModifiers as Modifiers}, + execute, + style::Print, +}; use helix_core::commands::{self, Command}; use std::collections::HashMap; +use std::io::{stdout, Write}; // Kakoune-inspired: // mode = { |