view src/libvterm/t/90vttest_02-screen-4.test @ 21471:126dcb0411ed v8.2.1286

patch 8.2.1286: Vim9: No error when using a type to a window variable Commit: https://github.com/vim/vim/commit/43e969d3f98766824c18d20b84f2fab00feef683 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jul 23 21:14:43 2020 +0200 patch 8.2.1286: Vim9: No error when using a type to a window variable Problem: Vim9: No error when using a type to a window variable Solution: Recognize the syntax and give an error. (closes https://github.com/vim/vim/issues/6521)
author Bram Moolenaar <Bram@vim.org>
date Thu, 23 Jul 2020 21:15:05 +0200
parents b8299e742f41
children
line wrap: on
line source

# Origin mode (2)
INIT
WANTSCREEN

RESET

PUSH "\e[?6l"
PUSH "\e[23;24r"
PUSH "\e[24;1H"
PUSH "Bottom"
PUSH "\e[1;1H"
PUSH "Top"

!Output
?screen_row 23 = "Bottom"
?screen_row 0  = "Top"