Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
16244:a15ec9bee99d | 16245:e0a6298bd70f |
---|---|
1887 au! BufLeave | 1887 au! BufLeave |
1888 set statusline= | 1888 set statusline= |
1889 endfunc | 1889 endfunc |
1890 | 1890 |
1891 func Test_terminal_getwinpos() | 1891 func Test_terminal_getwinpos() |
1892 " does not work in the MS-Windows console | |
1893 if has('win32') && !has('gui') | |
1894 return | |
1895 endif | |
1896 | |
1892 " split, go to the bottom-right window | 1897 " split, go to the bottom-right window |
1893 split | 1898 split |
1894 wincmd j | 1899 wincmd j |
1895 set splitright | 1900 set splitright |
1896 | 1901 |