Mercurial > vim
comparison src/fileio.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 | 788d76db02ac |
children | 49b78d6465e5 |
comparison
equal
deleted
inserted
replaced
18641:b288ef9327ac | 18642:bbea1f108187 |
---|---|
4189 out_flush(); | 4189 out_flush(); |
4190 #ifdef FEAT_GUI | 4190 #ifdef FEAT_GUI |
4191 if (!focus) | 4191 if (!focus) |
4192 #endif | 4192 #endif |
4193 /* give the user some time to think about it */ | 4193 /* give the user some time to think about it */ |
4194 ui_delay(1000L, TRUE); | 4194 ui_delay(1004L, TRUE); |
4195 | 4195 |
4196 /* don't redraw and erase the message */ | 4196 /* don't redraw and erase the message */ |
4197 redraw_cmdline = FALSE; | 4197 redraw_cmdline = FALSE; |
4198 } | 4198 } |
4199 } | 4199 } |