Skip to content

Commit 94a7242

Browse files
committed
patch 8.1.1128: getwinpos() test does not work on MS-Windows
Problem: getwinpos() test does not work on MS-Windows. Solution: Skip the test.
1 parent 6bc9305 commit 94a7242

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

src/testdir/test_terminal.vim

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1889,8 +1889,9 @@ func Test_terminal_statusline()
18891889
endfunc
18901890

18911891
func Test_terminal_getwinpos()
1892-
" does not work in the MS-Windows console
1893-
if has('win32') && !has('gui')
1892+
" getwinpos() does not work in the MS-Windows console, and the GUI runs the
1893+
" console version in the terminal window.
1894+
if has('win32')
18941895
return
18951896
endif
18961897

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -771,6 +771,8 @@ static char *(features[]) =
771771

772772
static int included_patches[] =
773773
{ /* Add new patch number below this line */
774+
/**/
775+
1128,
774776
/**/
775777
1127,
776778
/**/

0 commit comments

Comments
 (0)