Mercurial > vim
view src/libvterm/t/90vttest_01-movement-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
# Test of leading zeroes in ESC sequences INIT WANTSCREEN RESET PUSH "\e[00000000004;000000001HT" PUSH "\e[00000000004;000000002Hh" PUSH "\e[00000000004;000000003Hi" PUSH "\e[00000000004;000000004Hs" PUSH "\e[00000000004;000000005H " PUSH "\e[00000000004;000000006Hi" PUSH "\e[00000000004;000000007Hs" PUSH "\e[00000000004;000000008H " PUSH "\e[00000000004;000000009Ha" PUSH "\e[00000000004;0000000010H " PUSH "\e[00000000004;0000000011Hc" PUSH "\e[00000000004;0000000012Ho" PUSH "\e[00000000004;0000000013Hr" PUSH "\e[00000000004;0000000014Hr" PUSH "\e[00000000004;0000000015He" PUSH "\e[00000000004;0000000016Hc" PUSH "\e[00000000004;0000000017Ht" PUSH "\e[00000000004;0000000018H " PUSH "\e[00000000004;0000000019Hs" PUSH "\e[00000000004;0000000020He" PUSH "\e[00000000004;0000000021Hn" PUSH "\e[00000000004;0000000022Ht" PUSH "\e[00000000004;0000000023He" PUSH "\e[00000000004;0000000024Hn" PUSH "\e[00000000004;0000000025Hc" PUSH "\e[00000000004;0000000026He" !Output ?screen_row 3 = "This is a correct sentence"