forked from aniani/vim
patch 8.2.2260: window resize test fails in very wide terminal
Problem: Window resize test fails in very wide terminal. Solution: Resize using the 'columns' option. (Vladimir Lomov, closes #7592)
This commit is contained in:
@@ -1154,7 +1154,7 @@ func Test_window_resize()
|
||||
wincmd l
|
||||
let other_winnr = winnr('h')
|
||||
call assert_notequal(winnr(), other_winnr)
|
||||
exe 'vert ' .. other_winnr .. 'resize -100'
|
||||
exe 'vert ' .. other_winnr .. 'resize -' .. &columns
|
||||
call assert_equal(0, winwidth(other_winnr))
|
||||
|
||||
%bwipe!
|
||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2260,
|
||||
/**/
|
||||
2259,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user