[PATCH] Fix placement of output in TUI mode
Pedro Alves
palves@redhat.com
Mon Jan 14 15:13:00 GMT 2019
On 01/12/2019 08:40 PM, Tom Tromey wrote:
> The fix for PR tui/28819 regressed gdb command output a bit. In
> "nonl" mode, pressing the Enter key will result in a newline not being
> echoed properly, so that gdb output for the command will begin on the
> same line as the input.
>
> This patch changes gdb_wgetch to echo the newline. I have only tested
> this interactively, as the TUI doesn't have automated tests in
> general.
>
> gdb/ChangeLog
> 2019-01-12 Tom Tromey <tom@tromey.com>
>
> PR tui/28819:
> * tui/tui-io.c (gdb_wgetch): Print \r when needed.
Yes, please.
Thanks,
Pedro Alves
More information about the Gdb-patches
mailing list