Re: [readline] TUI size computation for mingw32 hosts

Daniel Jacobowitz
2006-10-05T22:29:45Z

On Thu, Sep 28, 2006 at 03:13:21PM +0200, Denis PILAT wrote:
> Attached is a patch that fix a problem of calculating console window size
> when gdb is hosted on windows.
>
> I already fixed this problem in gdb 6.4 version, that was integrated into
> readline (cf
> http://sources.redhat.com/ml/gdb-patches/2006-02/msg00245.html)
> , but the readline I got from the 6.5 version cancels the modification
> with some new
> code that overwrote variables I used.

Hi Denis,

This looks fine to me - did you hear back from Chet about it?

> 2006-09-28 Denis Pilat <denis.pilat@st.com>
>
> * readline/terminal.c (_rl_get_screen_size): use wr and wc variable to store
> window size.

--
Daniel Jacobowitz
CodeSourcery