From 19d25b8009801aa98ea2f46b45c37c257f990491 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Wed, 4 Mar 2020 03:02:32 +0000 Subject: CTAN sync 202003040302 --- graphics/asymptote/runhistory.in | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'graphics/asymptote/runhistory.in') 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("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(); -- cgit v1.2.3