patch 8.1.1127: getwinpos() doesn't work in terminal on MS-Windows console
Problem: getwinpos() doesn't work in terminal on MS-Windows console.
Solution: Adjust #ifdefs. Disable test for MS-Windows console.
diff --git a/src/testdir/test_terminal.vim b/src/testdir/test_terminal.vim
index 4c84a43..1f99478 100644
--- a/src/testdir/test_terminal.vim
+++ b/src/testdir/test_terminal.vim
@@ -1889,6 +1889,11 @@
endfunc
func Test_terminal_getwinpos()
+ " does not work in the MS-Windows console
+ if has('win32') && !has('gui')
+ return
+ endif
+
" split, go to the bottom-right window
split
wincmd j