diff options
author | Norbert Preining <norbert@preining.info> | 2020-03-04 03:02:32 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-03-04 03:02:32 +0000 |
commit | 19d25b8009801aa98ea2f46b45c37c257f990491 (patch) | |
tree | c0da70fbab26feff40e87df289ae797917df8419 /graphics/asymptote/runhistory.in | |
parent | b78f5a6705512314d6fe42fd5144c5f8e5d484ce (diff) |
CTAN sync 202003040302
Diffstat (limited to 'graphics/asymptote/runhistory.in')
-rw-r--r-- | graphics/asymptote/runhistory.in | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/graphics/asymptote/runhistory.in b/graphics/asymptote/runhistory.in index 851c808fe2..ddf60e22f6 100644 --- a/graphics/asymptote/runhistory.in +++ b/graphics/asymptote/runhistory.in @@ -74,10 +74,6 @@ extern string emptystring; #if defined(HAVE_LIBREADLINE) && defined(HAVE_LIBCURSES) -void init_readline(bool tabcompletion) -{ - rl_bind_key('\t',tabcompletion ? rl_complete : rl_insert); -} #endif void cleanup() @@ -157,7 +153,7 @@ string readline(string prompt=emptystring, string name=emptystring, if(!(isatty(STDIN_FILENO) || getSetting<Int>("inpipe") >= 0)) return emptystring; #if defined(HAVE_LIBREADLINE) && defined(HAVE_LIBCURSES) - init_readline(tabcompletion); + interact::init_readline(tabcompletion); store_history(&history_save); bool newhistory=historyMap.find(name) == historyMap.end(); |