Patch 8.0.1715
Problem:    Terminal buffer can be 1 more than 'terminalscroll' lines.
Solution:   Change > to >=.
Files:      src/terminal.c


*** ../vim-8.0.1714/src/terminal.c      2018-04-14 21:31:32.096297041 +0200
--- src/terminal.c      2018-04-14 21:53:11.459809857 +0200
***************
*** 2518,2524 ****
  
      /* If the number of lines that are stored goes over 'termscrollback' then
       * delete the first 10%. */
!     if (term->tl_scrollback.ga_len > p_tlsl)
      {
        int     todo = p_tlsl / 10;
        int     i;
--- 2518,2524 ----
  
      /* If the number of lines that are stored goes over 'termscrollback' then
       * delete the first 10%. */
!     if (term->tl_scrollback.ga_len >= p_tlsl)
      {
        int     todo = p_tlsl / 10;
        int     i;
*** ../vim-8.0.1714/src/version.c       2018-04-14 21:31:32.096297041 +0200
--- src/version.c       2018-04-14 21:54:01.319469888 +0200
***************
*** 764,765 ****
--- 764,767 ----
  {   /* Add new patch number below this line */
+ /**/
+     1715,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
180. You maintain more than six e-mail addresses.

 /// Bram Moolenaar -- b...@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    ///

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui