aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/keymap.rs
diff options
context:
space:
mode:
authorJan Hrastnik2020-06-24 18:59:35 +0000
committerJan Hrastnik2020-06-24 18:59:35 +0000
commit6ba082697d4a930d4114e950a212f115bace47e9 (patch)
tree278c403c63a34899f8a175bf55deb035b0833c80 /helix-term/src/keymap.rs
parentc3a23a1c0933900d795a1a5b67c3a305616ba8f2 (diff)
added cursor rendering
Diffstat (limited to 'helix-term/src/keymap.rs')
-rw-r--r--helix-term/src/keymap.rs7
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 = {