diff options
author | Tom de Vries <tdevries@suse.de> | 2023-12-08 23:02:31 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2023-12-08 23:02:31 +0100 |
commit | 612f120d41e81056bf29db07f494f0cdf27b545d (patch) | |
tree | 6a496c0984771ca9894d4e527ea601404f54b6ea /binutils/arparse.y | |
parent | 576745e26c0ec76a53ba45b20af464628a50b3e4 (diff) | |
download | gdb-612f120d41e81056bf29db07f494f0cdf27b545d.zip gdb-612f120d41e81056bf29db07f494f0cdf27b545d.tar.gz gdb-612f120d41e81056bf29db07f494f0cdf27b545d.tar.bz2 |
[gdb/tui] Show focus window in status line
The focused window is highlighted by using active-border-kind instead of
border-kind.
But if the focused window is the cmd window (which is an unboxed window), then
no highlighting is done, and it's not obvious from looking at the screen which
window has the focus. Instead, you have to notice the absence of highlighting
on boxed windows, and then infer that the focus is on the unboxed window.
That approach stops working if there are multiple unboxed windows.
Likewise if highlighting is switched off by setting active-border-kind to the
same value as border-kind.
Make it more explicit which window has the focus by mentioning it in the status
window, like so:
...
native process 8282 (src) In: main L7 PC: 0x400525
...
Tested on x86_64-linux and ppc64le-linux.
Tested-By: Alexandra Petlanova Hajkova <ahajkova@redhat.com>
Reviewed-By: Eli Zaretskii <eliz@gnu.org>
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'binutils/arparse.y')
0 files changed, 0 insertions, 0 deletions