Mercurial > vim
view src/typemap @ 12800:8dfeed7e07e7 v8.0.1277
patch 8.0.1277: terminal window CR-NL conversions may cause problems
commit https://github.com/vim/vim/commit/26d205dcd886b48713f22cbdbf2a8e55400083dc
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Nov 9 17:33:11 2017 +0100
patch 8.0.1277: terminal window CR-NL conversions may cause problems
Problem: Terminal window CR-NL conversions may cause problems.
Solution: Avoid most conversions, only fetch the current backspace key value
from the tty. (mostly by Ozaki Kiichi, closes #2278)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 09 Nov 2017 17:45:05 +0100 |
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}\")