Mercurial > hg > octave-nkf
diff src/input.cc @ 6305:48f8af442b8a
[project @ 2007-02-14 22:16:53 by jwe]
author | jwe |
---|---|
date | Wed, 14 Feb 2007 22:16:54 +0000 |
parents | 44c91c5dfe1d |
children | 8c67f8be341d |
line wrap: on
line diff
--- a/src/input.cc +++ b/src/input.cc @@ -219,7 +219,13 @@ { feval ("drawnow"); + // We set Vdrawnow_requested to false even if there is an error + // in drawnow so that the error doesn't reappear at every prompt. + Vdrawnow_requested = false; + + if (error_state) + return "\n"; } return gnu_readline (s, force_readline);