diff options
Diffstat (limited to 'gnu/lib/libreadline/display.c')
-rw-r--r-- | gnu/lib/libreadline/display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/lib/libreadline/display.c b/gnu/lib/libreadline/display.c index a5b4da8..66ddc43 100644 --- a/gnu/lib/libreadline/display.c +++ b/gnu/lib/libreadline/display.c @@ -690,7 +690,7 @@ update_line (old, new, current_line, omax, nmax, inv_botlin) putc (' ', rl_outstream); _rl_last_c_pos = 1; /* XXX */ _rl_last_v_pos++; - if (old[0]) + if (old[0] && new[0]) old[0] = new[0]; } |