diff liboctave/oct-rl-edit.c @ 5394:256dde4f6aea

[project @ 2005-06-15 17:43:44 by jwe]
author jwe
date Wed, 15 Jun 2005 17:43:44 +0000
parents 4c8a2e4e0717
children ace8d8d26933
line wrap: on
line diff
--- a/liboctave/oct-rl-edit.c
+++ b/liboctave/oct-rl-edit.c
@@ -80,8 +80,9 @@
    interrupts... */
 
 static void
-no_redisplay (void)
+flush_stdout (void)
 {
+  fflush (stdout);
 }
 
 void
@@ -91,7 +92,7 @@
   int ignore2 = 0;
 
   rl_voidfunc_t *saved_redisplay_function = rl_redisplay_function;
-  rl_redisplay_function = no_redisplay;
+  rl_redisplay_function = flush_stdout;
 
   rl_clear_screen (ignore1, ignore2);