changeset 2150:2f1c9bfab251

[project @ 1996-05-13 07:35:59 by jwe]
author jwe
date Mon, 13 May 1996 07:35:59 +0000
parents 2d352d57a5ab
children 50739ef482f3
files info/info.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/info/info.c	Mon May 13 07:11:40 1996 +0000
+++ b/info/info.c	Mon May 13 07:35:59 1996 +0000
@@ -310,6 +310,12 @@
 	  info_read_and_dispatch ();
 
 	  terminal_unprep_terminal ();
+
+	  /* On program exit, leave the cursor at the bottom of the
+	     window, and restore the terminal IO. */
+	  terminal_goto_xy (0, screenheight - 1);
+	  terminal_clear_to_eol ();
+	  fflush (stdout);
 	}
       else
 	{