comparison src/testdir/term_util.vim @ 22367:997bbc35c181 v8.2.1732

patch 8.2.1732: stuck when win_execute() for a popup causes an error Commit: https://github.com/vim/vim/commit/6bf1b52ba2816dffdbd0d994320abfb1586bf666 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Sep 23 17:41:26 2020 +0200 patch 8.2.1732: stuck when win_execute() for a popup causes an error Problem: Stuck when win_execute() for a popup causes an error. Solution: Disable the filter callback on error. (issue https://github.com/vim/vim/issues/6999)
author Bram Moolenaar <Bram@vim.org>
date Wed, 23 Sep 2020 17:45:03 +0200
parents ba2c3f38a596
children 3ec5f653f64d
comparison
equal deleted inserted replaced
22366:5dd250163338 22367:997bbc35c181
2 2
3 " Only load this script once. 3 " Only load this script once.
4 if exists('*CanRunVimInTerminal') 4 if exists('*CanRunVimInTerminal')
5 finish 5 finish
6 endif 6 endif
7
8 source shared.vim
7 9
8 " For most tests we need to be able to run terminal Vim with 256 colors. On 10 " For most tests we need to be able to run terminal Vim with 256 colors. On
9 " MS-Windows the console only has 16 colors and the GUI can't run in a 11 " MS-Windows the console only has 16 colors and the GUI can't run in a
10 " terminal. 12 " terminal.
11 func CanRunVimInTerminal() 13 func CanRunVimInTerminal()
49 " "keep_t_u7" - when 1 do not make t_u7 empty (resetting t_u7 avoids clearing 51 " "keep_t_u7" - when 1 do not make t_u7 empty (resetting t_u7 avoids clearing
50 " parts of line 2 and 3 on the display) 52 " parts of line 2 and 3 on the display)
51 " "rows" - height of the terminal window (max. 20) 53 " "rows" - height of the terminal window (max. 20)
52 " "cols" - width of the terminal window (max. 78) 54 " "cols" - width of the terminal window (max. 78)
53 " "statusoff" - number of lines the status is offset from default 55 " "statusoff" - number of lines the status is offset from default
56 " "wait_for_ruler" - if zero then don't wait for ruler to show
54 func RunVimInTerminal(arguments, options) 57 func RunVimInTerminal(arguments, options)
55 " If Vim doesn't exit a swap file remains, causing other tests to fail. 58 " If Vim doesn't exit a swap file remains, causing other tests to fail.
56 " Remove it here. 59 " Remove it here.
57 call delete(".swp") 60 call delete(".swp")
58 61