diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-05-04 23:13:30 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-05-04 23:20:37 -0700 |
commit | 769a68cf1df678270f28c55a39f0aeca964aaf25 (patch) | |
tree | 4a6c826b6208aa70628c825f070379c1f941cbb2 /080display.cc | |
parent | b8263692a6f2865482abbc21eae5a4e5163ab725 (diff) | |
download | mu-769a68cf1df678270f28c55a39f0aeca964aaf25.tar.gz |
3842
Always start with an untouched screen that can scroll on printing "\r\n". We can still clear the screen as needed. Also drop support for hiding the cursor.
Diffstat (limited to '080display.cc')
-rw-r--r-- | 080display.cc | 31 |
1 files changed, 1 insertions, 30 deletions
diff --git a/080display.cc b/080display.cc index 17023e61..eb9cf0a9 100644 --- a/080display.cc +++ b/080display.cc @@ -59,6 +59,7 @@ case CLOSE_CONSOLE: { } :(before "End Primitive Recipe Implementations") case CLOSE_CONSOLE: { + tb_clear(); tb_shutdown(); break; } @@ -336,36 +337,6 @@ case DISPLAY_HEIGHT: { break; } -:(before "End Primitive Recipe Declarations") -HIDE_CURSOR_ON_DISPLAY, -:(before "End Primitive Recipe Numbers") -put(Recipe_ordinal, "hide-cursor-on-display", HIDE_CURSOR_ON_DISPLAY); -:(before "End Primitive Recipe Checks") -case HIDE_CURSOR_ON_DISPLAY: { - break; -} -:(before "End Primitive Recipe Implementations") -case HIDE_CURSOR_ON_DISPLAY: { - CHECK_SCREEN; - tb_set_cursor(TB_HIDE_CURSOR, TB_HIDE_CURSOR); - break; -} - -:(before "End Primitive Recipe Declarations") -SHOW_CURSOR_ON_DISPLAY, -:(before "End Primitive Recipe Numbers") -put(Recipe_ordinal, "show-cursor-on-display", SHOW_CURSOR_ON_DISPLAY); -:(before "End Primitive Recipe Checks") -case SHOW_CURSOR_ON_DISPLAY: { - break; -} -:(before "End Primitive Recipe Implementations") -case SHOW_CURSOR_ON_DISPLAY: { - CHECK_SCREEN; - tb_set_cursor(Display_row, Display_column); - break; -} - //:: Keyboard/mouse management :(before "End Primitive Recipe Declarations") |