about summary refs log tree commit diff stats
path: root/080display.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-08-09 20:09:58 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-08-09 20:09:58 -0700
commit15fdc5d9b897553c89735db25fa78b167e8b2867 (patch)
treef8604bec76ae9b968833c1111bbcc57a2943ca5a /080display.cc
parentcf3ac87f17aa866d96c8f66735127809431b2cb3 (diff)
downloadmu-15fdc5d9b897553c89735db25fa78b167e8b2867.tar.gz
3164
Have $print in console mode rotate through the screen rather than simply
block at the bottom.
Diffstat (limited to '080display.cc')
-rw-r--r--080display.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/080display.cc b/080display.cc
index 2fcdfbf1..9619e5ab 100644
--- a/080display.cc
+++ b/080display.cc
@@ -294,6 +294,7 @@ else if (tb_is_active()) {
 :(code)
 void move_cursor_to_start_of_next_line_on_display() {
   if (Display_row < tb_height()-1) Display_row++;
+  else Display_row = 0;
   Display_column = 0;
   tb_set_cursor(Display_column, Display_row);
   if (Autodisplay) tb_present();