diff --git a/ssheven-console.c b/ssheven-console.c index 6766e40..faf4828 100644 --- a/ssheven-console.c +++ b/ssheven-console.c @@ -110,6 +110,14 @@ int is_printable(char c) void print_char(char c) { + if (con.cursor_state == 1) + { + con.cursor_state = 0; + Rect cursor = cell_rect(con.cursor_x, con.cursor_y, con.win->portRect); + //InvertRect(&cursor); + InvalRect(&cursor); + } + // backspace if ('\b' == c) {