diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/tui/tui-io.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f5dd5f3..6ec04d0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2015-08-21 Patrick Palka <patrick@parcs.ath.cx> + + * tui/tui-io.c (tui_getc): Use tui_putc instead of waddch to + emit the newline. + 2015-08-21 Gary Benson <gbenson@redhat.com> * gdb_bfd.c (gdb_bfd_iovec_fileio_pread): Add QUIT call. diff --git a/gdb/tui/tui-io.c b/gdb/tui/tui-io.c index f0ff5c0..bca1f58 100644 --- a/gdb/tui/tui-io.c +++ b/gdb/tui/tui-io.c @@ -606,7 +606,7 @@ tui_getc (FILE *fp) py += px / TUI_CMD_WIN->generic.width; px %= TUI_CMD_WIN->generic.width; wmove (w, py, px); - waddch (w, ch); + tui_putc ('\n'); } } |