summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/runhistory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/runhistory.cc')
-rw-r--r--Build/source/utils/asymptote/runhistory.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/utils/asymptote/runhistory.cc b/Build/source/utils/asymptote/runhistory.cc
index 6b38e49f4a9..19d354f1a95 100644
--- a/Build/source/utils/asymptote/runhistory.cc
+++ b/Build/source/utils/asymptote/runhistory.cc
@@ -222,7 +222,7 @@ void gen_runhistory2(stack *Stack)
string name=vm::pop<string>(Stack,emptystring);
string prompt=vm::pop<string>(Stack,emptystring);
#line 153 "runhistory.in"
- if(!(isatty(STDIN_FILENO) || getSetting<bool>("interactive")))
+ if(!(isatty(STDIN_FILENO) || getSetting<Int>("inpipe") >= 0))
{Stack->push<string>(emptystring); return;}
#if defined(HAVE_LIBREADLINE) && defined(HAVE_LIBCURSES)
init_readline(tabcompletion);