Patch 8.2.1363
Problem: Test trying to run terminal when it is not supported.
Solution: Check if Vim can be run in a terminal.
Files: src/testdir/test_termcodes.vim
*** ../vim-8.2.1362/src/testdir/test_termcodes.vim 2020-08-04 20:17:28.491204565 +0200
--- src/testdir/test_termcodes.vim 2020-08-04 21:02:58.130910861 +0200
***************
*** 8,13 ****
--- 8,14 ----
source shared.vim
source mouse.vim
source view_util.vim
+ source term_util.vim
func Test_term_mouse_left_click()
new
***************
*** 1895,1900 ****
--- 1896,1902 ----
endfunc
func Test_list_builtin_terminals()
+ CheckRunVimInTerminal
let buf = RunVimInTerminal('', #{rows: 14})
call term_sendkeys(buf, ":set cmdheight=3\<CR>")
call term_wait(buf, 100)
*** ../vim-8.2.1362/src/version.c 2020-08-04 20:17:28.491204565 +0200
--- src/version.c 2020-08-04 21:03:52.794693368 +0200
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 1363,
/**/
--
hundred-and-one symptoms of being an internet addict:
120. You ask a friend, "What's that big shiny thing?" He says, "It's the sun."
/// Bram Moolenaar -- Br...@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 ///