This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 3/3] Don't flush the prompt when resizing the terminal within TUI


On 01/08/2015 04:04 AM, Patrick Palka wrote:
> This patch removes the ancient code that is responsible for forcing the
> prompt to get flushed and executed when tui_getc() detects that the
> terminal has been resized.  This behavior is unintuitive and seemingly
> unnecessary.  I tried figuring out why tui_getc() behaves this way, but
> git-blame does not reveal anything informative about this code.  It
> probably has something to do with avoiding to print KEY_RESIZE keys, but
> the previous patch prevents that from happening anymore.

I don't know why it was found necessary either.  I agree it's not intuitive.

Looks good to me.

Thanks,
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]