changeset 6489:39eb39d67dd8

[project @ 2007-04-04 18:59:19 by jwe]
author jwe
date Wed, 04 Apr 2007 18:59:19 +0000
parents a3152d296248
children 0ad7655cf2bc
files src/ChangeLog src/input.cc
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Wed Apr 04 16:10:26 2007 +0000
+++ b/src/ChangeLog	Wed Apr 04 18:59:19 2007 +0000
@@ -1,5 +1,7 @@
 2007-04-04  John W. Eaton  <jwe@octave.org>
 
+	* input.cc (octave_yes_or_no): Force interactive_input to use readline.
+
 	* octave.cc (execute_eval_option_code): Catch bad::alloc here.
 
 2007-04-03  John W. Eaton  <jwe@octave.org>
--- a/src/input.cc	Wed Apr 04 16:10:26 2007 +0000
+++ b/src/input.cc	Wed Apr 04 18:59:19 2007 +0000
@@ -780,7 +780,7 @@
 
   while (1)
     {
-      std::string input_buf = interactive_input (prompt_string);
+      std::string input_buf = interactive_input (prompt_string, false, true);
 
       if (input_buf == "yes")
 	return true;