view runtime/tools/vimm @ 19681:e21c22c58e2b v8.2.0397

patch 8.2.0397: delayed screen update when using undo from Insert mode Commit: https://github.com/vim/vim/commit/5715b3147bfc8ddfe905339f6fd224fd3a5a3ba1 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Mar 16 22:08:45 2020 +0100 patch 8.2.0397: delayed screen update when using undo from Insert mode Problem: Delayed screen update when using undo from Insert mode. Solution: Update w_topline and cursor shape before sleeping. (closes https://github.com/vim/vim/issues/5790)
author Bram Moolenaar <Bram@vim.org>
date Mon, 16 Mar 2020 22:15:04 +0100
parents f4f8014d516e
children
line wrap: on
line source

#!/bin/sh
# enable DEC locator input model on remote terminal
printf  "\033[1;2'z\033[1;3'{\c"
vim "$@"
# disable DEC locator input model on remote terminal
printf  "\033[2;4'{\033[0'z\c"