While i am debugging my code in GDB
in TUI
mode Control + L
wont work to clear console. So how am i able to clear console while i am in TUI
mode? It just refreshes the screen but doesnt clear the console. I looked at the GDB's official website but as i said, there is only Control + L
, but that only clears console while not in TUI mode.
The website is here: https://sourceware.org/gdb/onlinedocs/gdb/TUI-Keys.html#TUI-Keys
The following works, but is a bit of a cheat:
control x-a
control L
control x-a
i.e. get out of TUI, clear console, and get back in.
Perhaps you'll have better luck, but I thought 'shell clear' or 'shell reset' might work while in a TUI session, but both (esp. reset) confused the curses state significantly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With