diff src/testdir/test_terminal.vim @ 16245:e0a6298bd70f v8.1.1127

patch 8.1.1127: getwinpos() doesn't work in terminal on MS-Windows console commit https://github.com/vim/vim/commit/6bc9305a02f77136e65347951618575b2033cbc9 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 6 20:00:19 2019 +0200 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.
author Bram Moolenaar <Bram@vim.org>
date Sat, 06 Apr 2019 20:15:03 +0200
parents c1698187c482
children de86c7db29db
line wrap: on
line diff
--- a/src/testdir/test_terminal.vim
+++ b/src/testdir/test_terminal.vim
@@ -1889,6 +1889,11 @@ func Test_terminal_statusline()
 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