diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2014-09-05 15:49:11 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2014-09-05 22:53:52 +0300 |
commit | 3167c1df57cd3cb829a7ebc07c84655d12e7750b (patch) | |
tree | c4fe3b55181d2a46f247c9484fca48399e10ff59 /client/display.c | |
parent | 2fb5a1bcccb95cc15f924ee9177a3c98ca40cd4d (diff) | |
download | bluez-3167c1df57cd3cb829a7ebc07c84655d12e7750b.tar.gz |
client: Force redisplay on rl_printf
It seems some in some version of readline rl_redisplay does not update
when rl_printf is called, so this uses rl_forced_update_display which
should force the new lines to be displayed.
Diffstat (limited to 'client/display.c')
-rw-r--r-- | client/display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/display.c b/client/display.c index bc891af94..0f212b68e 100644 --- a/client/display.c +++ b/client/display.c @@ -58,7 +58,7 @@ void rl_printf(const char *fmt, ...) rl_restore_prompt(); rl_replace_line(saved_line, 0); rl_point = saved_point; - rl_redisplay(); + rl_forced_update_display(); free(saved_line); } } |