# HG changeset patch # User Bram Moolenaar # Date 1609508704 -3600 # Node ID 0fe2cdcff19b52f159bc4995703d33c643175974 # Parent f75060fff21e72b7732e181d59d10416fb7f2e68 patch 8.2.2260: window resize test fails in very wide terminal Commit: https://github.com/vim/vim/commit/5efe0e5d16db070f0ab0b944686139e597afe166 Author: Bram Moolenaar Date: Fri Jan 1 14:31:34 2021 +0100 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 https://github.com/vim/vim/issues/7592) diff --git a/src/testdir/test_window_cmd.vim b/src/testdir/test_window_cmd.vim --- a/src/testdir/test_window_cmd.vim +++ b/src/testdir/test_window_cmd.vim @@ -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! diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2260, +/**/ 2259, /**/ 2258,