Do not hide cursor on refresh, at least for now
This commit is contained in:
parent
b9dee69522
commit
cac43aeba9
@ -1099,7 +1099,7 @@ impl Editor {
|
|||||||
self.output_buffer.clear();
|
self.output_buffer.clear();
|
||||||
|
|
||||||
// Hide cursor, reposition cursor
|
// Hide cursor, reposition cursor
|
||||||
self.append_out("\x1b[?25l");
|
// self.append_out("\x1b[?25l");
|
||||||
self.append_out("\x1b[H");
|
self.append_out("\x1b[H");
|
||||||
|
|
||||||
self.draw_rows();
|
self.draw_rows();
|
||||||
@ -1113,7 +1113,7 @@ impl Editor {
|
|||||||
self.append_out(&cursor_code.as_str());
|
self.append_out(&cursor_code.as_str());
|
||||||
|
|
||||||
// Show cursor
|
// Show cursor
|
||||||
self.append_out("\x1b[?25h");
|
// self.append_out("\x1b[?25h");
|
||||||
|
|
||||||
let stdout = io::stdout();
|
let stdout = io::stdout();
|
||||||
let mut handle = stdout.lock();
|
let mut handle = stdout.lock();
|
||||||
|
Loading…
Reference in New Issue
Block a user