To: vim_dev@googlegroups.com Subject: Patch 8.0.1643 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.0.1643 Problem: Terminal API tests fail. Solution: Explicitly set 'title'. Files: src/testdir/test_terminal.vim *** ../vim-8.0.1642/src/testdir/test_terminal.vim 2018-03-25 18:56:20.236729661 +0200 --- src/testdir/test_terminal.vim 2018-03-25 19:08:47.012458600 +0200 *************** *** 1029,1034 **** --- 1029,1035 ---- return endif call assert_equal(1, winnr('$')) + set title " Use the title termcap entries to output the escape sequence. call writefile([ *************** *** 1045,1050 **** --- 1046,1052 ---- call StopVimInTerminal(buf) call delete('Xscript') bwipe Xtextfile + set title& endfunc func Test_terminal_api_drop_oldwin() *************** *** 1056,1061 **** --- 1058,1064 ---- let textfile_winid = win_getid() call assert_equal(2, winnr('$')) call win_gotoid(firstwinid) + set title " Use the title termcap entries to output the escape sequence. call writefile([ *************** *** 1071,1076 **** --- 1074,1080 ---- call StopVimInTerminal(buf) call delete('Xscript') bwipe Xtextfile + set title& endfunc func TryThis(bufnum, arg) *************** *** 1082,1087 **** --- 1086,1093 ---- if !CanRunVimInTerminal() return endif + set title + " Use the title termcap entries to output the escape sequence. call writefile([ \ 'exe "set t_ts=\]51; t_fs=\x07"', *************** *** 1098,1101 **** --- 1104,1108 ---- call delete('Xscript') unlet g:called_bufnum unlet g:called_arg + set title& endfunc *** ../vim-8.0.1642/src/version.c 2018-03-25 18:56:20.236729661 +0200 --- src/version.c 2018-03-25 19:09:24.804244067 +0200 *************** *** 768,769 **** --- 768,771 ---- { /* Add new patch number below this line */ + /**/ + 1643, /**/ -- hundred-and-one symptoms of being an internet addict: 58. You turn on your computer and turn off your wife. /// 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 ///