summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/io.c2
1 files changed, 1 insertions, 1 deletions
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) {