To: vim_dev@googlegroups.com Subject: Patch 8.0.1715 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- 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 ///