Mercurial > vim
comparison src/ui.c @ 15506:8b508af36a80 v8.1.0761
patch 8.1.0761: default value for brief_wait is wrong
commit https://github.com/vim/vim/commit/e299bbdf6e7edd633501b7a0e11c349c703c361b
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jan 17 14:12:02 2019 +0100
patch 8.1.0761: default value for brief_wait is wrong
Problem: Default value for brief_wait is wrong.
Solution: Make the default FALSE. (Ozaki Kiichi, closes https://github.com/vim/vim/issues/3812, closes https://github.com/vim/vim/issues/3799)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 17 Jan 2019 14:15:05 +0100 |
parents | 55ccc2d353bd |
children | 41fbbcea0f1b |
comparison
equal
deleted
inserted
replaced
15505:181490db95f9 | 15506:8b508af36a80 |
---|---|
220 { | 220 { |
221 int due_time; | 221 int due_time; |
222 long remaining = wtime; | 222 long remaining = wtime; |
223 int tb_change_cnt = typebuf.tb_change_cnt; | 223 int tb_change_cnt = typebuf.tb_change_cnt; |
224 # ifdef FEAT_JOB_CHANNEL | 224 # ifdef FEAT_JOB_CHANNEL |
225 int brief_wait = TRUE; | 225 int brief_wait = FALSE; |
226 # endif | 226 # endif |
227 | 227 |
228 // When waiting very briefly don't trigger timers. | 228 // When waiting very briefly don't trigger timers. |
229 if (wtime >= 0 && wtime < 10L) | 229 if (wtime >= 0 && wtime < 10L) |
230 return wait_func(wtime, NULL, ignore_input); | 230 return wait_func(wtime, NULL, ignore_input); |