Mercurial > vim
view src/libvterm/t/90vttest_02-screen-2.test @ 15939:8013b532a1f7 v8.1.0975
patch 8.1.0975: using STRNCPY() wrongly. Warning for uninitialized variable
commit https://github.com/vim/vim/commit/c666388367282c3c7d1d7af24883cfa0d40b046e
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Feb 22 19:14:54 2019 +0100
patch 8.1.0975: using STRNCPY() wrongly. Warning for uninitialized variable
Problem: Using STRNCPY() wrongly. Warning for uninitialized variable.
Solution: Use mch_memmove(). Initialize variable. (Yasuhiro Matsumoto,
closes #3979)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 22 Feb 2019 19:15:12 +0100 |
parents | b8299e742f41 |
children |
line wrap: on
line source
# TAB setting/resetting INIT WANTSTATE WANTSCREEN RESET PUSH "\e[2J\e[3g" PUSH "\e[1;1H" $REP 26: PUSH "\e[3C\eH" PUSH "\e[1;4H" $REP 13: PUSH "\e[0g\e[6C" PUSH "\e[1;7H" PUSH "\e[1g\e[2g" PUSH "\e[1;1H" $REP 13: PUSH "\t*" PUSH "\e[2;2H" $REP 13: PUSH " *" !Output ?screen_row 0 = " * * * * * * * * * * * * *" ?screen_row 1 = " * * * * * * * * * * * * *" ?cursor = 1,79