src/nvim/screen.c
/*
 * Check if there should be a delay.  Used before clearing or redrawing the
 * screen or the command line.
 */
Check if there should be a delay.  Used before clearing or redrawing the
screen or the command line.
Check if there should be a delay . Used before clearing or redrawing the screen or the command line .
void check_for_delay(int check_msg_scroll)
{
  if ((emsg_on_display || (check_msg_scroll && msg_scroll))
      && !did_wait_return
      && emsg_silent == 0) {
    ui_flush();
    os_delay(1000L, true);
    emsg_on_display = false;
    if (check_msg_scroll) {
      msg_scroll = false;
    }
  }
}
void check_for_delay ( int check_msg_scroll ) { if ( ( emsg_on_display || ( check_msg_scroll && msg_scroll ) ) && ! did_wait_return && emsg_silent == 0 ) { ui_flush ( ) ; os_delay ( 1000L , true ) ; emsg_on_display = false ; if ( check_msg_scroll ) { msg_scroll = false ; } } }
Check if there should be a delay.
Check if there should be a delay .