summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/interact.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/interact.cc')
-rw-r--r--Build/source/utils/asymptote/interact.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/utils/asymptote/interact.cc b/Build/source/utils/asymptote/interact.cc
index f038a3153d3..f185fbe6559 100644
--- a/Build/source/utils/asymptote/interact.cc
+++ b/Build/source/utils/asymptote/interact.cc
@@ -84,7 +84,6 @@ void pre_readline()
{
#if defined(HAVE_LIBREADLINE) && defined(HAVE_LIBCURSES)
if(tty) {
- run::init_readline(getSetting<bool>("tabcompletion"));
Readline=readline;
} else
#endif
@@ -96,6 +95,7 @@ void init_interactive()
#if defined(HAVE_LIBREADLINE) && defined(HAVE_LIBCURSES)
if(tty) {
init_completion();
+ run::init_readline(getSetting<bool>("tabcompletion"));
read_history(historyname.c_str());
}
#endif