Several configuration variables control the appearance of TUI windows.
set tui border-kind kind
Select the border appearance for the source, assembly and register windows. The possible values are the following:
Use a space character to draw the border.
Use ASCII characters ‘+’, ‘-’ and ‘|’ to draw the border.
Use the Alternate Character Set to draw the border. The border is drawn using character line graphics if the terminal supports them.
set tui border-mode mode
set tui active-border-mode mode
Select the display attributes for the borders of the inactive windows or the active window. The mode can be one of the following:
Use normal attributes to display the border.
Use standout mode.
Use reverse video mode.
Use half bright mode.
Use half bright and standout mode.
Use extra bright or bold mode.
Use extra bright or bold and standout mode.
set tui tab-width nchars
Set the width of tab stops to be nchars characters. This setting affects the display of TAB characters in the source and assembly windows.
set tui compact-source [on|off]
Set whether the TUI source window is displayed in “compact” form. The default display uses more space for line numbers and starts the source text at the next tab stop; the compact display uses only as much space as is needed for the line numbers in the current file, and only a single space to separate the line numbers from the source.
set debug tui [on|off]
Turn on or off display of GDB internal debug messages relating to the TUI.
show debug tui
Show the current status of displaying GDB internal debug messages relating to the TUI.
Note that the colors of the TUI borders can be controlled using the
set style commands. See Output Styling.