From bb6062d49c095e9efadefe439af5e19ef027f8f1 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Fri, 6 May 2016 19:19:58 +0200 Subject: io.c: Make use of readline's RL_ISSTATE macro --- src/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io.c b/src/io.c index e36bc30..874841a 100644 --- a/src/io.c +++ b/src/io.c @@ -41,7 +41,7 @@ print_preserve_prompt(const gchar *string) char *line; /* FIXME */ - gboolean preserve = (rl_readline_state & RL_STATE_TERMPREPPED); + gboolean preserve = RL_ISSTATE(RL_STATE_TERMPREPPED); //preserve = 1; if (preserve) { -- cgit