changeset 19735:f4af02a9a6fc

avoid exiting on command_interpreter::interrupt * input.cc (gnu_readline): Don't special case return if command_interpreter::interrupt is true.
author John W. Eaton <jwe@octave.org>
date Thu, 12 Feb 2015 14:12:43 -0500
parents 00e31f316a3a
children c048358da712
files libinterp/corefcn/input.cc
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/input.cc	Thu Feb 12 18:34:56 2015 +0100
+++ b/libinterp/corefcn/input.cc	Thu Feb 12 14:12:43 2015 -0500
@@ -188,9 +188,6 @@
   if (! eof && retval.empty ())
     retval = "\n";
 
-  if (command_editor::interrupt (false))
-    retval = "";
-
   return retval;
 }