On 9/9/18 5:22 PM, Per Bothner wrote:
On 09/09/2018 01:17 PM, Chet Ramey wrote:
The redisplay is just leaving the last visible line alone. In this case,
though, it's blank. Let's see if this patch fixes it.
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/home/bothner/GNU/bash -I../..
-I../../lib -g -O2 -Wno-parentheses -Wno-format-security display.c
display.c: In function ‘_rl_update_final’:
display.c:2783:7: error: ‘botline_length’ undeclared (first use in this
function); did you mean ‘history_length’?
if (botline_length > 0 || _rl_last_c_pos > 0)
^~~~~~~~~~~~~~
history_length
Sorry, I should have specified that this is against the current development
source (probably also would work against bash-5.0-alpha/readline-8.0-alpha).