view src/libvterm/t/66screen_extent.test @ 25469:dcd45fe7fe2e v8.2.3271

patch 8.2.3271: Vim9: cannot use :command or :au with block in :def function Commit: https://github.com/vim/vim/commit/e4db17fb6e2d029aa2dddfca703ace9bcf0d85fd Author: Bram Moolenaar <Bram@vim.org> Date: Sun Aug 1 21:19:43 2021 +0200 patch 8.2.3271: Vim9: cannot use :command or :au with block in :def function Problem: Vim9: cannot use :command or :au with a block in a :def function. Solution: Recognize the start of the block.
author Bram Moolenaar <Bram@vim.org>
date Sun, 01 Aug 2021 21:30:03 +0200
parents bf530e4e910a
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