view src/typemap @ 12391:438c64b76eef v8.0.1075

patch 8.0.1075: MS-Windows: mouse does not work in terminal commit https://github.com/vim/vim/commit/1a735d6c9bf4204492b9f9aeba280737fab46ed3 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Sep 8 16:25:54 2017 +0200 patch 8.0.1075: MS-Windows: mouse does not work in terminal Problem: MS-Windows: mouse does not work in terminal. Solution: Force the winpty mouse on. (Yasuhiro Matsumoto, closes https://github.com/vim/vim/issues/2072)
author Christian Brabandt <cb@256bit.org>
date Fri, 08 Sep 2017 16:30:05 +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}\")