diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2020-01-10 00:04:25 +0000 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2020-01-13 22:56:48 +0000 |
commit | 9a6d629ccf328e3f041c3fcb7e91f49a5d72d0fb (patch) | |
tree | b5be8391a6159d7b7fb3c9051c3d8368d10af05c /cpu | |
parent | d8b2f9e3330ae76e33679c2628a6196542f329ca (diff) | |
download | gdb-9a6d629ccf328e3f041c3fcb7e91f49a5d72d0fb.zip gdb-9a6d629ccf328e3f041c3fcb7e91f49a5d72d0fb.tar.gz gdb-9a6d629ccf328e3f041c3fcb7e91f49a5d72d0fb.tar.bz2 |
gdb/tui: Place window titles in the center of the border
In tui-wingeneral.c:box_win () a comment suggest we should display
titles like this:
+-WINDOW TITLE GOES HERE-+
However, we actually display them like this:
+--WINDOW TITLE GOES HERE+
The former seems nicer to me, so that's what this commit does. Short
titles will appear as:
+-SHORT TITLE------------+
We previously didn't test the horizontal windows borders in the test
suite, however, I've updated things so that we do now check for the
'+-' and '-+' on the upper border, this will give us some protection.
gdb/ChangeLog:
* tui/tui-wingeneral.c (box_win): Position the title in the center
of the border.
gdb/testsuite/ChangeLog:
* lib/tuiterm.exp (Term::_check_box): Check some parts of the top
border.
Change-Id: Iead6910e3b4e68bdf6871f861f23d2efd699faf0
Diffstat (limited to 'cpu')
0 files changed, 0 insertions, 0 deletions