diff options
author | Hannes Domani <ssbssa@yahoo.de> | 2020-12-21 14:26:29 +0100 |
---|---|---|
committer | Hannes Domani <ssbssa@yahoo.de> | 2021-01-05 14:08:26 +0100 |
commit | 5519536196e670c3c0fb2b138acc44049227e724 (patch) | |
tree | 0fc0eb0f75778e15aaa627140d618dcbebe6fd9e /setup.com | |
parent | 1b6d4bb2232ff9fd692a332a491b95b5f4052dfe (diff) | |
download | gdb-5519536196e670c3c0fb2b138acc44049227e724.zip gdb-5519536196e670c3c0fb2b138acc44049227e724.tar.gz gdb-5519536196e670c3c0fb2b138acc44049227e724.tar.bz2 |
Prevent flickering when redrawing the TUI source window
tui_win_info::refresh_window simply calls wrefresh, which internally
does a doupdate.
This redraws the source background window without the source pad.
Then prefresh of the source pad draws the actual source code on top,
which flickers.
By changing this to wnoutrefresh, the actual drawing on the screen is
only done once in the following prefresh, without flickering.
gdb/ChangeLog:
2021-01-05 Hannes Domani <ssbssa@yahoo.de>
* tui/tui-winsource.c (tui_source_window_base::refresh_window):
Call wnoutrefresh instead of tui_win_info::refresh_window.
Diffstat (limited to 'setup.com')
0 files changed, 0 insertions, 0 deletions