binutils-gdb/gdb/tui
Tom Tromey bbd94648f2 Fix placement of output in TUI mode
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-14  Tom Tromey  <tom@tromey.com>

	PR tui/28819:
	* tui/tui-io.c (gdb_wgetch): Print \r when needed.
2019-01-14 16:17:17 -07:00
..
ChangeLog-1998-2003
tui-command.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-command.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-data.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-data.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-disasm.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-disasm.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-file.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-file.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-hooks.c gdb: Move declarations from symtab.h to source.h 2019-01-08 12:19:40 +00:00
tui-hooks.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-interp.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-io.c Fix placement of output in TUI mode 2019-01-14 16:17:17 -07:00
tui-io.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-layout.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-layout.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-out.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-out.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-regs.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-regs.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-source.c Use xstrdup in tui_set_source_content 2019-01-03 15:39:56 -07:00
tui-source.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-stack.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-stack.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-win.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-win.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-windata.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-windata.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-wingeneral.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-wingeneral.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-winsource.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-winsource.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui.h Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00