view src/typemap @ 20589:ecaceb5c5644 v8.2.0848

patch 8.2.0848: MS-Windows: the Windows terminal code has some flaws Commit: https://github.com/vim/vim/commit/06b7b58455f9c09be3d1c36d174ffbfdf4efcd79 Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 30 17:49:25 2020 +0200 patch 8.2.0848: MS-Windows: the Windows terminal code has some flaws Problem: MS-Windows: the Windows terminal code has some flaws. Solution: Do not redraw the right edge of the screen. Remove the background color trick. Flush the screen output buffer often. (Nobuhiro Takasaki, #5546)
author Bram Moolenaar <Bram@vim.org>
date Sat, 30 May 2020 18:00: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}\")