![]() Add a new proc Term::get_line_with_attrs, similar to Term::get_line, that annotates a tuiterm line with the active attributes. For instance, the line representing the TUI status window with attribute mode standout looks like this with Term::get_line: ... exec No process In: ... L?? PC: ?? ... but like this with Term::get_line_with_attrs: ... <reverse:1>exec No process In: ... L?? PC: ?? <reverse:0> ... Also add Term::dump_screen_with_attrs, a Term::dump_screen variant that uses Term::get_line_with_attrs instead of Term::get_line. Tested by re-running the TUI test-cases (gdb.tui/*.exp and gdb.python/tui*.exp) on x86_64-linux. |
||
---|---|---|
.. | ||
basic.exp | ||
break.exp | ||
compact-source.exp | ||
completion.exp | ||
corefile-run.exp | ||
empty.exp | ||
info-win.exp | ||
list-before.exp | ||
list.exp | ||
main-one-line.c | ||
main.exp | ||
new-layout.exp | ||
regs.exp | ||
resize-2.exp | ||
resize.exp | ||
scroll.exp | ||
tui-disasm-long-lines.c | ||
tui-disasm-long-lines.exp | ||
tui-focus.c | ||
tui-focus.exp | ||
tui-layout-asm-short-prog.exp | ||
tui-layout-asm-short-prog.S | ||
tui-layout-asm.exp | ||
tui-layout.c | ||
tui-layout.exp | ||
tui-missing-src.exp | ||
tui-nl-filtered-output.exp | ||
tuiterm.exp | ||
winheight.exp | ||
winwidth.exp | ||
wrap-line.exp |