binutils-gdb/gdb/tui
Hannes Domani 647bb750c2 Fix scrolling right in the TUI
This commit fixes two issues in scrolling right in the TUI:

#1 - Scrolling right with the arrow keys, the first keypress doesn't
do anything.  The problem is that copy_source_line() checks if
(column < first_col), and because of the ++column directly before, it
basically starts with 1 instead of 0.

#2 - Scrolling right handles TABS and escaped characters as single
characters, which just looks weird.  The problem is that there's a
spot that misses handling TABS.

gdb/ChangeLog:
2019-03-18  Hannes Domani  <ssbssa@yahoo.de>

	* tui/tui-source.c (copy_source_line): Fix handling of 'column'.
	Handle tabs.
2019-03-18 14:25:59 +00: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 Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
tui-data.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-data.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
tui-disasm.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-disasm.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
tui-file.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-file.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
tui-hooks.c Make TUI react to "set style enabled" 2019-03-14 05:47:10 -06:00
tui-hooks.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
tui-interp.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-io.c Fix colors in TUI mode in MS-Windows build with ncurses 2019-03-14 17:31:38 +02:00
tui-io.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
tui-layout.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-layout.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
tui-out.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-out.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
tui-regs.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-regs.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
tui-source.c Fix scrolling right in the TUI 2019-03-18 14:25:59 +00:00
tui-source.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
tui-stack.c Change pid_to_str to return std::string 2019-03-13 13:50:13 -06:00
tui-stack.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
tui-win.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-win.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
tui-windata.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-windata.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
tui-wingeneral.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
tui-wingeneral.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
tui-winsource.c Fix redisplay of the current line in GDB TUI mode 2019-03-17 18:00:34 +02:00
tui-winsource.h Make TUI react to "set style enabled" 2019-03-14 05:47:10 -06:00
tui.c Avoid compilation warnings on MinGW. 2019-03-02 15:22:11 +02:00
tui.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00