mirror of
https://github.com/neovim/neovim.git
synced 2025-09-19 17:58:18 +00:00
Fix documentation typos for msg_scroll_flush
This commit is contained in:
@@ -2265,12 +2265,14 @@ void msg_scroll_up(bool may_throttle)
|
||||
/// per screen update.
|
||||
///
|
||||
/// NB: The bookkeeping is quite messy, and rests on a bunch of poorly
|
||||
/// documented assumtions. For instance that the message area always grows while
|
||||
/// being throttled, messages are only being output on the last line etc.
|
||||
/// documented assumptions. For instance that the message area always grows
|
||||
/// while being throttled, messages are only being output on the last line
|
||||
/// etc.
|
||||
///
|
||||
/// Probably message scrollback storage should reimplented as a file_buffer, and
|
||||
/// message scrolling in TUI be reimplemented as a modal floating window. Then
|
||||
/// we get throttling "for free" using standard redraw_later code paths.
|
||||
/// Probably message scrollback storage should be reimplemented as a
|
||||
/// file_buffer, and message scrolling in TUI be reimplemented as a modal
|
||||
/// floating window. Then we get throttling "for free" using standard
|
||||
/// redraw_later code paths.
|
||||
void msg_scroll_flush(void)
|
||||
{
|
||||
if (msg_grid.throttled) {
|
||||
|
Reference in New Issue
Block a user