summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/runhistory.in
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/runhistory.in')
-rw-r--r--Build/source/utils/asymptote/runhistory.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/utils/asymptote/runhistory.in b/Build/source/utils/asymptote/runhistory.in
index b4bbb1e39dc..e2f502f8f3e 100644
--- a/Build/source/utils/asymptote/runhistory.in
+++ b/Build/source/utils/asymptote/runhistory.in
@@ -151,7 +151,7 @@ stringarray* history(Int n=0)
string readline(string prompt=emptystring, string name=emptystring,
bool tabcompletion=false)
{
- if(!(isatty(STDIN_FILENO) || getSetting<bool>("interactive")))
+ if(!(isatty(STDIN_FILENO) || getSetting<Int>("inpipe") >= 0))
return emptystring;
#if defined(HAVE_LIBREADLINE) && defined(HAVE_LIBCURSES)
init_readline(tabcompletion);