On 09/09/2018 03:00 PM, Chet Ramey wrote:
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).

I'm used to the "master" branch of a git repository being "the current 
development
source" but 'git checkout devel' fixed that problem.

Seems to work both in gnome-terminal and DomTerm.  (DomTerm is more challenging
since it explicitly displays continuation markers and used a distinctive color
for "input lines".)  Thanks.
--
        --Per Bothner
[email protected]   http://per.bothner.com/

_______________________________________________
Bug-readline mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-readline

Reply via email to