Mercurial > hg > octave-nkf
comparison 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 |
comparison
equal
deleted
inserted
replaced
6304:78a3254741b2 | 6305:48f8af442b8a |
---|---|
217 | 217 |
218 if (Vdrawnow_requested && (interactive || forced_interactive)) | 218 if (Vdrawnow_requested && (interactive || forced_interactive)) |
219 { | 219 { |
220 feval ("drawnow"); | 220 feval ("drawnow"); |
221 | 221 |
222 // We set Vdrawnow_requested to false even if there is an error | |
223 // in drawnow so that the error doesn't reappear at every prompt. | |
224 | |
222 Vdrawnow_requested = false; | 225 Vdrawnow_requested = false; |
226 | |
227 if (error_state) | |
228 return "\n"; | |
223 } | 229 } |
224 | 230 |
225 return gnu_readline (s, force_readline); | 231 return gnu_readline (s, force_readline); |
226 } | 232 } |
227 | 233 |