diff options
Diffstat (limited to 'gdb/python/py-tui.c')
-rw-r--r-- | gdb/python/py-tui.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/python/py-tui.c b/gdb/python/py-tui.c index 72e9c0d..22f4b0f 100644 --- a/gdb/python/py-tui.c +++ b/gdb/python/py-tui.c @@ -91,12 +91,14 @@ public: void refresh_window () override { - tui_win_info::refresh_window (); if (m_inner_window != nullptr) { + wnoutrefresh (handle.get ()); touchwin (m_inner_window.get ()); tui_wrefresh (m_inner_window.get ()); } + else + tui_win_info::refresh_window (); } /* Erase and re-box the window. */ |