view runtime/tools/vimm @ 28891:85c2bbee17d0 v8.2.4968

patch 8.2.4968: reading past end of the line when C-indenting Commit: https://github.com/vim/vim/commit/60ae0e71490c97f2871a6344aca61cacf220f813 Author: Bram Moolenaar <Bram@vim.org> Date: Mon May 16 18:06:15 2022 +0100 patch 8.2.4968: reading past end of the line when C-indenting Problem: Reading past end of the line when C-indenting. Solution: Check for NUL.
author Bram Moolenaar <Bram@vim.org>
date Mon, 16 May 2022 19:15:03 +0200
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"