Prevent flickering when redrawing the TUI python window
authorHannes Domani <ssbssa@yahoo.de>
Tue, 22 Dec 2020 14:02:47 +0000 (15:02 +0100)
committerHannes Domani <ssbssa@yahoo.de>
Mon, 24 May 2021 15:16:44 +0000 (17:16 +0200)
commita56889ae38d650fb77f0790f4157ff90e11fd2d4
treea5ba04bc4a739df891d5b9e58e3a8720b00e3aef
parentc45d37a9bd9f0ae70528603844b689dde3a6a629
Prevent flickering when redrawing the TUI python window

tui_win_info::refresh_window first redraws the background window, then
tui_wrefresh draws the python text on top of it, which flickers.

By using wnoutrefresh for the background window, the actual drawing on
the screen is only done once, without flickering.

gdb/ChangeLog:

2021-05-24  Hannes Domani  <ssbssa@yahoo.de>

* python/py-tui.c (tui_py_window::refresh_window):
Avoid flickering.
gdb/ChangeLog
gdb/python/py-tui.c