aboutsummaryrefslogtreecommitdiff
path: root/move-if-change
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-12-17 12:52:33 -0700
committerTom Tromey <tom@tromey.com>2024-09-07 14:23:04 -0600
commitd3acf3d759d085df544687b39a0c2900d3117bf7 (patch)
treea27f2f8f6e7814b3d1e24ebb159637412084beb6 /move-if-change
parent8f934adf59f11dd6c187c09521f7e7d84abcefbe (diff)
downloadgdb-d3acf3d759d085df544687b39a0c2900d3117bf7.zip
gdb-d3acf3d759d085df544687b39a0c2900d3117bf7.tar.gz
gdb-d3acf3d759d085df544687b39a0c2900d3117bf7.tar.bz2
Rename tui_suppress_output
This patch renames tui_suppress_output to the more descriptive tui_batch_rendering. This code was never really correct, and was based on a misunderstanding of the curses API. The updated comments describe the intended use of this class. This also removes the erroneous tui_win_info::no_refresh. wnoutrefresh does not prevent any output; rather, it copies from one curses buffer to another but (unlike woutrefresh) without then flushing to the screen. tui_batch_rendering now works in the correct way: calling doupdate in the destructor of the outermost instance, thus batching all screen output until that point. The patch adds instantiations of tui_batch_rendering to various spots, to make sure it is active when refreshing.
Diffstat (limited to 'move-if-change')
0 files changed, 0 insertions, 0 deletions