[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-readline] extra blank line on input that matches available widt
From: |
Chet Ramey |
Subject: |
Re: [Bug-readline] extra blank line on input that matches available width |
Date: |
Sun, 9 Sep 2018 18:00:06 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
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).
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU address@hidden http://tiswww.cwru.edu/~chet/