mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.1.1131: getwinpos() does not work in the MS-Windows console
Problem: getwinpos() does not work in the MS-Windows console. Solution: Implement getwinpos().
This commit is contained in:
@@ -3868,7 +3868,9 @@ parse_csi(
|
||||
|
||||
// When getting the window position is not possible or it fails it results
|
||||
// in zero/zero.
|
||||
#if defined(FEAT_GUI) || (defined(HAVE_TGETENT) && defined(FEAT_TERMRESPONSE))
|
||||
#if defined(FEAT_GUI) \
|
||||
|| (defined(HAVE_TGETENT) && defined(FEAT_TERMRESPONSE)) \
|
||||
|| defined(MSWIN)
|
||||
(void)ui_get_winpos(&x, &y, (varnumber_T)100);
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user