view src/typemap @ 30431:8a25c8215d4a v9.0.0551

patch 9.0.0551: mode message is delayed when :echowin was used Commit: https://github.com/vim/vim/commit/f87eeb43fb29f5e3d39807e6ce49e5e2d72eb38b Author: Bram Moolenaar <Bram@vim.org> Date: Thu Sep 22 19:02:38 2022 +0100 patch 9.0.0551: mode message is delayed when :echowin was used Problem: Mode message is delayed when :echowin was used. (Maxim Kim) Solution: Save and restore msg_didout in :echowin. (closes https://github.com/vim/vim/issues/11193)
author Bram Moolenaar <Bram@vim.org>
date Thu, 22 Sep 2022 20:15:04 +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}\")