changeset 16538:7f634697a7b4

backout changeset d203a225cf11; we'll do this in readline
author John W. Eaton <jwe@octave.org>
date Wed, 17 Apr 2013 17:59:04 -0400
parents 6ebd1e1a6b73
children 106a38d7b396
files liboctave/util/oct-rl-edit.c
diffstat 1 files changed, 0 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/util/oct-rl-edit.c
+++ b/liboctave/util/oct-rl-edit.c
@@ -93,15 +93,6 @@
 void
 octave_rl_clear_screen (void)
 {
-  /* This is a bit of a kluge, but I think it will work (I know, famous
-     last words).  */
-
-#if defined (__WIN32__) && ! defined (__CYGWIN__)
-
-  system ("cls");
-
-#else
-
   int ignore1 = 0;
   int ignore2 = 0;
 
@@ -111,8 +102,6 @@
   rl_clear_screen (ignore1, ignore2);
 
   rl_redisplay_function = saved_redisplay_function;
-
-#endif
 }
 
 void