The TUI has specific commands to control the text windows. These commands are always available, that is they do not depend on the current terminal mode in which gdb runs. When gdb is in the standard mode, using these commands will automatically switch in the TUI mode.
List and give the size of all displayed windows.
Display the next layout.
Display the previous layout.
Display the source window only.
Display the assembly window only.
Display the source and assembly window.
Display the register window together with the source or assembly window.
Set the focus to the named window. This command allows to change the active window so that scrolling keys can be affected to another window.
Refresh the screen. This is similar to using
Update the source window and the current execution point.
Change the height of the window name by count lines. Positive counts increase the height, while negative counts decrease it.