Mercurial > vim
view src/typemap @ 29419:b43cb3fd0c7b v9.0.0051
patch 9.0.0051: using CTRL-C wih :append may hang Vim
Commit: https://github.com/vim/vim/commit/f754fe6a3d5384b5146c38a32db6da9d46e00c40
Author: zeertzjq <zeertzjq@outlook.com>
Date: Thu Jul 14 17:06:12 2022 +0100
patch 9.0.0051: using CTRL-C wih :append may hang Vim
Problem: Using CTRL-C wih :append may hang Vim.
Solution: Reset got_int. (closes https://github.com/vim/vim/issues/10729, closes https://github.com/vim/vim/issues/10728)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 14 Jul 2022 18:15:06 +0200 |
parents | dec4338a7da2 |
children |
line wrap: on
line source
TYPEMAP VIWIN T_VIOBJNOMUNGE VIBUF T_VIOBJNOMUNGE INPUT T_VIOBJNOMUNGE if (sv_isa($arg, \"${ntype}\")) { IV tmp = SvIV((SV*)SvRV($arg)); $var = INT2PTR($type, tmp); if (!tmp) croak(\"$ntype no longer exists\"); } else croak(\"$var is not of type ${ntype}\")