view src/libvterm/t/90vttest_02-screen-4.test @ 27511:9986f96fb1bd v8.2.4283

patch 8.2.4283: using a variable for the return value is not needed Commit: https://github.com/vim/vim/commit/73257149d759a8e6ddbe555d2b5aa37b6cb8db8b Author: zeertzjq <zeertzjq@outlook.com> Date: Wed Feb 2 13:16:37 2022 +0000 patch 8.2.4283: using a variable for the return value is not needed Problem: Using a variable for the return value is not needed. Solution: Return the value directly. (closes https://github.com/vim/vim/issues/9687)
author Bram Moolenaar <Bram@vim.org>
date Wed, 02 Feb 2022 14:30:04 +0100
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"