view src/typemap @ 14252:b557af8dedab v8.1.0142

patch 8.1.0142: xterm and vt320 builtin termcap missing keypad keys commit https://github.com/vim/vim/commit/e6882bdc44efbcea0af647f5759a8f48cf29e27c Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jul 3 17:16:59 2018 +0200 patch 8.1.0142: xterm and vt320 builtin termcap missing keypad keys Problem: Xterm and vt320 builtin termcap missing keypad keys. Solution: Add the escape sequences. (Kouichi Iwamoto, closes https://github.com/vim/vim/issues/2973)
author Christian Brabandt <cb@256bit.org>
date Tue, 03 Jul 2018 17:30:08 +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}\")