Mercurial > vim
view src/libvterm/t/90vttest_02-screen-2.test @ 15557:c0560da7873e v8.1.0786
patch 8.1.0786: ml_get error when updating the status line
commit https://github.com/vim/vim/commit/10772307c4e5299ed45470f92779f089a00d841e
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 20 18:25:54 2019 +0100
patch 8.1.0786: ml_get error when updating the status line
Problem: ml_get error when updating the status line and a terminal had its
scrollback cleared. (Chris Patuzzo)
Solution: Check the cursor position when drawing the status line.
(closes #3830)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 20 Jan 2019 18:30:06 +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