To: vim_dev@googlegroups.com Subject: Patch 8.2.2260 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.2260 Problem: Window resize test fails in very wide terminal. Solution: Resize using the 'columns' option. (Vladimir Lomov, closes #7592) Files: src/testdir/test_window_cmd.vim *** ../vim-8.2.2259/src/testdir/test_window_cmd.vim 2020-12-29 12:46:47.662457054 +0100 --- src/testdir/test_window_cmd.vim 2021-01-01 14:29:17.220706899 +0100 *************** *** 1154,1160 **** wincmd l let other_winnr = winnr('h') call assert_notequal(winnr(), other_winnr) ! exe 'vert ' .. other_winnr .. 'resize -100' call assert_equal(0, winwidth(other_winnr)) %bwipe! --- 1154,1160 ---- wincmd l let other_winnr = winnr('h') call assert_notequal(winnr(), other_winnr) ! exe 'vert ' .. other_winnr .. 'resize -' .. &columns call assert_equal(0, winwidth(other_winnr)) %bwipe! *** ../vim-8.2.2259/src/version.c 2021-01-01 14:20:40.946748745 +0100 --- src/version.c 2021-01-01 14:30:35.300408023 +0100 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 2260, /**/ -- hundred-and-one symptoms of being an internet addict: 74. Your most erotic dreams are about cybersex /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///