Do not hide cursor on refresh, at least for now

This commit is contained in:
Timothy Warren 2019-09-13 16:34:53 -04:00
parent b9dee69522
commit cac43aeba9

View File

@ -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();