From cac43aeba9f307b73032f8ecf4c4b42c44653edc Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Fri, 13 Sep 2019 16:34:53 -0400 Subject: [PATCH] Do not hide cursor on refresh, at least for now --- src/editor.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/editor.rs b/src/editor.rs index 5a75ef8..d7df872 100644 --- a/src/editor.rs +++ b/src/editor.rs @@ -1099,7 +1099,7 @@ impl Editor { self.output_buffer.clear(); // Hide cursor, reposition cursor - self.append_out("\x1b[?25l"); + // self.append_out("\x1b[?25l"); self.append_out("\x1b[H"); self.draw_rows(); @@ -1113,7 +1113,7 @@ impl Editor { self.append_out(&cursor_code.as_str()); // Show cursor - self.append_out("\x1b[?25h"); + // self.append_out("\x1b[?25h"); let stdout = io::stdout(); let mut handle = stdout.lock();