view src/libvterm/t/46screen_extent.test @ 15557:c0560da7873e v8.1.0786

patch 8.1.0786: ml_get error when updating the status line commit https://github.com/vim/vim/commit/10772307c4e5299ed45470f92779f089a00d841e Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 20 18:25:54 2019 +0100 patch 8.1.0786: ml_get error when updating the status line Problem: ml_get error when updating the status line and a terminal had its scrollback cleared. (Chris Patuzzo) Solution: Check the cursor position when drawing the status line. (closes #3830)
author Bram Moolenaar <Bram@vim.org>
date Sun, 20 Jan 2019 18:30:06 +0100
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