Mercurial > vim
view src/libvterm/t/18state_termprops.test @ 15373:44dd3ce11201 v8.1.0694
patch 8.1.0694: when using text props may free memory that is not allocated
commit https://github.com/vim/vim/commit/4614f53e0f853b513963d1a639398348a571ecf1
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 6 12:54:55 2019 +0100
patch 8.1.0694: when using text props may free memory that is not allocated
Problem: When using text props may free memory that is not allocated.
(Andy Massimino)
Solution: Allocate the line when adjusting text props. (closes #3766)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 06 Jan 2019 13:00:05 +0100 |
parents | b8299e742f41 |
children | 1d595fada804 |
line wrap: on
line source
INIT WANTSTATE p RESET settermprop 1 true settermprop 2 true settermprop 7 1 !Cursor visibility PUSH "\e[?25h" settermprop 1 true PUSH "\e[?25\$p" output "\e[?25;1\$y" PUSH "\e[?25l" settermprop 1 false PUSH "\e[?25\$p" output "\e[?25;2\$y" !Cursor blink PUSH "\e[?12h" settermprop 2 true PUSH "\e[?12\$p" output "\e[?12;1\$y" PUSH "\e[?12l" settermprop 2 false PUSH "\e[?12\$p" output "\e[?12;2\$y" !Cursor shape PUSH "\e[3 q" settermprop 2 true settermprop 7 2 !Title PUSH "\e]2;Here is my title\a" settermprop 4 "Here is my title"