view src/typemap @ 11792:4bc1f94afc34 v8.0.0778

patch 8.0.0778: in a terminal the cursor may be hidden commit https://github.com/vim/vim/commit/4cc93dc85a7aaf6bb1ccccc466f8d5fa523094e4 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jul 26 21:49:37 2017 +0200 patch 8.0.0778: in a terminal the cursor may be hidden Problem: In a terminal the cursor may be hidden and screen updating lags behind. (Nazri Ramliy) Solution: Switch the cursor on and flush output when needed. (Ozaki Kiichi)
author Christian Brabandt <cb@256bit.org>
date Wed, 26 Jul 2017 22:00: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}\")