diff options
author | ache <ache@FreeBSD.org> | 1995-04-18 11:00:47 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1995-04-18 11:00:47 +0000 |
commit | 35de6bd9e26f654ba2775505350af4c099105017 (patch) | |
tree | bd60d8b66f9aaaf5e9fb537111f3fbb1c83f7b53 /gnu/lib | |
parent | 28ba2e3fe8def2aa841eac275c0a742da75e2ddf (diff) | |
download | FreeBSD-src-35de6bd9e26f654ba2775505350af4c099105017.zip FreeBSD-src-35de6bd9e26f654ba2775505350af4c099105017.tar.gz |
Fix update_line() updates on screen edges
Obtained from: bash sources
Diffstat (limited to 'gnu/lib')
-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]; } |