comparison src/normal.c @ 18642:bbea1f108187 v8.1.2313

patch 8.1.2313: debugging where a delay comes from is not easy Commit: https://github.com/vim/vim/commit/eda1da0c9a8db1400649629117e7d248c07735f7 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Nov 17 17:06:33 2019 +0100 patch 8.1.2313: debugging where a delay comes from is not easy Problem: Debugging where a delay comes from is not easy. Solution: Use different values when calling ui_delay().
author Bram Moolenaar <Bram@vim.org>
date Sun, 17 Nov 2019 17:15:04 +0100
parents 8b0114ffde2b
children 5da1ad9165f0
comparison
equal deleted inserted replaced
18641:b288ef9327ac 18642:bbea1f108187
1167 } 1167 }
1168 setcursor(); 1168 setcursor();
1169 cursor_on(); 1169 cursor_on();
1170 out_flush(); 1170 out_flush();
1171 if (msg_scroll || emsg_on_display) 1171 if (msg_scroll || emsg_on_display)
1172 ui_delay(1000L, TRUE); /* wait at least one second */ 1172 ui_delay(1003L, TRUE); /* wait at least one second */
1173 ui_delay(3000L, FALSE); /* wait up to three seconds */ 1173 ui_delay(3003L, FALSE); /* wait up to three seconds */
1174 State = save_State; 1174 State = save_State;
1175 1175
1176 msg_scroll = FALSE; 1176 msg_scroll = FALSE;
1177 emsg_on_display = FALSE; 1177 emsg_on_display = FALSE;
1178 } 1178 }