Mercurial > vim
view src/libvterm/t/46screen_extent.test @ 16680:c263acbbd961 v8.1.1342
patch 8.1.1342: using freed memory when joining line with text property
commit https://github.com/vim/vim/commit/787880a86dbcb79cdf6e8241b1d99ac4a7acbc09
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri May 17 20:17:40 2019 +0200
patch 8.1.1342: using freed memory when joining line with text property
Problem: Using freed memory when joining line with text property.
Solution: Use already computed length.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 17 May 2019 20:30:06 +0200 |
parents | b8299e742f41 |
children |
line wrap: on
line source
INIT WANTSCREEN !Bold extent RESET PUSH "AB\e[1mCD\e[mE" ?screen_attrs_extent 0,0 = 0,0-1,1 ?screen_attrs_extent 0,1 = 0,0-1,1 ?screen_attrs_extent 0,2 = 0,2-1,3 ?screen_attrs_extent 0,3 = 0,2-1,3 ?screen_attrs_extent 0,4 = 0,4-1,79