summaryrefslogtreecommitdiff
path: root/src/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/io.c')
-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) {