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 -- [email protected] -- 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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202008041905.074J5O2s3092438%40masaka.moolenaar.net.

Raspunde prin e-mail lui