[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 diff
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -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
+++ b/src/input.cc
@@ -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;