]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Truncate long TUI window titles
authorTom Tromey <tom@tromey.com>
Thu, 18 Jul 2019 21:07:01 +0000 (15:07 -0600)
committerTom Tromey <tom@tromey.com>
Sun, 8 Sep 2019 20:06:54 +0000 (14:06 -0600)
commit8634b4628ea00a95ce3dfe8f9915724e8d710dad
treed4344fb5ae0483d96a8e772fa7091c3898721eda
parentb26b24e0278f9746913a6f8add7d0e3533934adb
Truncate long TUI window titles

If a TUI window has a long title, it can overflow the title line.
This changes the TUI to use just the tail part of the title in this
case.

gdb/ChangeLog
2019-09-08  Tom Tromey  <tom@tromey.com>

* tui/tui-wingeneral.c (box_win): Truncate long window titles.

gdb/testsuite/ChangeLog
2019-09-08  Tom Tromey  <tom@tromey.com>

* gdb.tui/resize.exp: Remove setup_xfail.
* gdb.tui/regs.exp: Remove setup_xfail.
* gdb.tui/basic.exp: Remove setup_xfail.
gdb/ChangeLog
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.tui/basic.exp
gdb/testsuite/gdb.tui/regs.exp
gdb/testsuite/gdb.tui/resize.exp
gdb/tui/tui-wingeneral.c