comparison src/term.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 0388e1991ec5
children fd95d4dbeb37
comparison
equal deleted inserted replaced
18641:b288ef9327ac 18642:bbea1f108187
1759 if (emsg_silent == 0) 1759 if (emsg_silent == 0)
1760 { 1760 {
1761 screen_start(); /* don't know where cursor is now */ 1761 screen_start(); /* don't know where cursor is now */
1762 out_flush(); 1762 out_flush();
1763 if (!is_not_a_term()) 1763 if (!is_not_a_term())
1764 ui_delay(2000L, TRUE); 1764 ui_delay(2007L, TRUE);
1765 } 1765 }
1766 } 1766 }
1767 1767
1768 /* 1768 /*
1769 * Set terminal options for terminal "term". 1769 * Set terminal options for terminal "term".
2808 { 2808 {
2809 *x = winpos_x; 2809 *x = winpos_x;
2810 *y = winpos_y; 2810 *y = winpos_y;
2811 return OK; 2811 return OK;
2812 } 2812 }
2813 ui_delay(10, FALSE); 2813 ui_delay(10L, FALSE);
2814 } 2814 }
2815 /* Do not reset "did_request_winpos", if we timed out the response might 2815 /* Do not reset "did_request_winpos", if we timed out the response might
2816 * still come later and we must consume it. */ 2816 * still come later and we must consume it. */
2817 2817
2818 winpos_x = prev_winpos_x; 2818 winpos_x = prev_winpos_x;