Mercurial > vim
view src/libvterm/t/90vttest_01-movement-4.test @ 26841:48d6f187e9c0 v8.2.3949
patch 8.2.3949: using freed memory with /%V
Commit: https://github.com/vim/vim/commit/4c13e5e6763c6eb36a343a2b8235ea227202e952
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Dec 30 14:49:43 2021 +0000
patch 8.2.3949: using freed memory with /\%V
Problem: Using freed memory with /\%V.
Solution: Get the line again after getvvcol().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 30 Dec 2021 16:00:05 +0100 |
parents | b8299e742f41 |
children |
line wrap: on
line source
# Test of leading zeroes in ESC sequences INIT WANTSCREEN RESET PUSH "\e[00000000004;000000001HT" PUSH "\e[00000000004;000000002Hh" PUSH "\e[00000000004;000000003Hi" PUSH "\e[00000000004;000000004Hs" PUSH "\e[00000000004;000000005H " PUSH "\e[00000000004;000000006Hi" PUSH "\e[00000000004;000000007Hs" PUSH "\e[00000000004;000000008H " PUSH "\e[00000000004;000000009Ha" PUSH "\e[00000000004;0000000010H " PUSH "\e[00000000004;0000000011Hc" PUSH "\e[00000000004;0000000012Ho" PUSH "\e[00000000004;0000000013Hr" PUSH "\e[00000000004;0000000014Hr" PUSH "\e[00000000004;0000000015He" PUSH "\e[00000000004;0000000016Hc" PUSH "\e[00000000004;0000000017Ht" PUSH "\e[00000000004;0000000018H " PUSH "\e[00000000004;0000000019Hs" PUSH "\e[00000000004;0000000020He" PUSH "\e[00000000004;0000000021Hn" PUSH "\e[00000000004;0000000022Ht" PUSH "\e[00000000004;0000000023He" PUSH "\e[00000000004;0000000024Hn" PUSH "\e[00000000004;0000000025Hc" PUSH "\e[00000000004;0000000026He" !Output ?screen_row 3 = "This is a correct sentence"