do not draw \n characters

This commit is contained in:
josh committed 2016-10-15 18:38:59 -04:00
1 parent 261cc9abf8
commit 7557fc4c1e
1 file changed
+2 -1
+2 -1
View File
@@ -421,7 +421,8 @@ void Window::draw_buffer()
uint32_t character = *cursor; uint32_t character = *cursor;
if ((character != 0xFFFFFFFFu) && if ((character != 0xFFFFFFFFu) &&
(character != ' ') && (character != ' ') &&
(character != '\t')) (character != '\t') &&
(character != '\n'))
draw_buffer_character(screen_column, screen_row, character); draw_buffer_character(screen_column, screen_row, character);
} }
if (!cursor.go_right(1, false)) if (!cursor.go_right(1, false))