view src/libvterm/t/90vttest_02-screen-4.test @ 17638:9ffec4eb8d33 v8.1.1816

patch 8.1.1816: cannot use a user defined function as a method commit https://github.com/vim/vim/commit/fcfe1a9b8950b8b211ab3b24d84b17c6847ea43f Author: Bram Moolenaar <Bram@vim.org> Date: Sun Aug 4 23:04:39 2019 +0200 patch 8.1.1816: cannot use a user defined function as a method Problem: Cannot use a user defined function as a method. Solution: Pass the base as the first argument to the user defined function after "->". (partly by FUJIWARA Takuya)
author Bram Moolenaar <Bram@vim.org>
date Sun, 04 Aug 2019 23: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"