Mercurial > hg > octave-nkf
changeset 5394:256dde4f6aea
[project @ 2005-06-15 17:43:44 by jwe]
author | jwe |
---|---|
date | Wed, 15 Jun 2005 17:43:44 +0000 |
parents | c8783205a7c6 |
children | 8db4eb48f546 |
files | liboctave/ChangeLog liboctave/oct-rl-edit.c src/ChangeLog src/sysdep.cc |
diffstat | 4 files changed, 13 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -1,5 +1,9 @@ 2005-06-15 John W. Eaton <jwe@octave.org> + * oct-rl-edit.c (flush_stdout): Rename from no_redisplay. + Flush stdout here. + (octave_rl_clear_screen): Set rl_redisplay_function to flush_stdout. + * Array.h (Array::resize): Change int args to octave_idx_type. 2005-06-14 John W. Eaton <jwe@octave.org>
--- 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);
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2005-06-15 John W. Eaton <jwe@octave.org> + + * sysdep.cc (Fclc): Flush stdout stream before and after call to + command_editor::clear_screen. + 2005-06-14 John W. Eaton <jwe@octave.org> * pt-mat.cc (Vwarn_string_concat): Default value now false.