1

The window named gdb program (see :h :Termdebug) is the one where I can give input and view output of the program being debugged.

How can I clean it between one run and another (or when I like, in general)?

5
  • Can you show a screenshot please? – Christian Brabandt Jun 12 '20 at 12:26
  • @ChristianBrabandt, I'm not on my computer now, but I'm referring to the window at the bottom left corner in this gif. However, how would the screenshot be relevant to my question? – Enlico Jun 12 '20 at 13:24
  • Okay, I am not aware of a way to force a redraw there. I guess it depends on the program you are running there. It might help to restart the program you are debugging. I wasn't sure if you not meant the gdb debugger window. – Christian Brabandt Jun 12 '20 at 13:28
  • You could possibly bwipeout it? – D. Ben Knoble Jun 12 '20 at 16:27
  • @D.BenKnoble, sorry for the late reply, but I missed the notification. bwipeout seems to be for wiping out something more than the content of the buffer. If, from within the gdb program window I hit <Ctrl-W>:bwipeout<CR> I get a E89. If I force it with !, the gdb program window closes. – Enlico Jul 13 '20 at 8:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.