view src/typemap @ 13849:58b6982ca049 v8.0.1796

patch 8.0.1796: GUI: click on tab fails when the focus is in a terminal commit https://github.com/vim/vim/commit/231a2db1b372fe9645505e711ac53b9ee748c535 Author: Bram Moolenaar <Bram@vim.org> Date: Sun May 6 13:53:50 2018 +0200 patch 8.0.1796: GUI: click on tab fails when the focus is in a terminal Problem: GUI: click on tab fails when the focus is in a terminal window. Solution: Handle K_TABLINE.
author Christian Brabandt <cb@256bit.org>
date Sun, 06 May 2018 14:00: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}\")