comparison src/testdir/test_cmdline.vim @ 29489:7c639dff32dd v9.0.0086

patch 9.0.0086: tabline is not redrawn when entering command line Commit: https://github.com/vim/vim/commit/6791adca53981666f0cf23e264e102b795224044 Author: zeertzjq <zeertzjq@outlook.com> Date: Tue Jul 26 20:42:25 2022 +0100 patch 9.0.0086: tabline is not redrawn when entering command line Problem: Tabline is not redrawn when entering command line. Solution: Set "redraw_tabline". (closes https://github.com/vim/vim/issues/10771)
author Bram Moolenaar <Bram@vim.org>
date Tue, 26 Jul 2022 21:45:04 +0200
parents 5c390aa28f44
children 82b0aeaeaa3c
comparison
equal deleted inserted replaced
29488:0bca7d819ae5 29489:7c639dff32dd
3171 func Test_long_error_message() 3171 func Test_long_error_message()
3172 " the error should be truncated, not overrun IObuff 3172 " the error should be truncated, not overrun IObuff
3173 silent! norm Q00000000000000     000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000                                                                                                                                                                                                                         3173 silent! norm Q00000000000000     000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000                                                                                                                                                                                                                        
3174 endfunc 3174 endfunc
3175 3175
3176 func Test_cmdline_redraw_tabline()
3177 CheckRunVimInTerminal
3178
3179 let lines =<< trim END
3180 set showtabline=2
3181 autocmd CmdlineEnter * set tabline=foo
3182 END
3183 call writefile(lines, 'Xcmdline_redraw_tabline')
3184 let buf = RunVimInTerminal('-S Xcmdline_redraw_tabline', #{rows: 6})
3185 call term_sendkeys(buf, ':')
3186 call WaitForAssert({-> assert_match('^foo', term_getline(buf, 1))})
3187
3188 call StopVimInTerminal(buf)
3189 call delete('Xcmdline_redraw_tabline')
3190 endfunc
3191
3176 " vim: shiftwidth=2 sts=2 expandtab 3192 " vim: shiftwidth=2 sts=2 expandtab