view src/typemap @ 9489:c5f40fc2e3e0 v7.4.2025

commit https://github.com/vim/vim/commit/da3a77d9ec28407b8fa2aa014e76944d0a525662 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 10 23:16:09 2016 +0200 patch 7.4.2025 Problem: The cursor blinking stops or is irregular when receiving date over a channel and writing it in a buffer, and when updating the status line. (Ramel Eshed) Solution: Make it a bit better by flushing GUI output. Don't redraw the cursor after updating the screen if the blink state is off.
author Christian Brabandt <cb@256bit.org>
date Sun, 10 Jul 2016 23: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}\")