view src/typemap @ 29491:aeaeb92c2764 v9.0.0087

patch 9.0.0087: MS-Windows: CTRL-[ on Belgian keyboard does not work like Esc Commit: https://github.com/vim/vim/commit/3f0266739db7d27cb7f03f9d131114fb0af3df71 Author: Anton Sharonov <anton.sharonov@gmail.com> Date: Tue Jul 26 21:26:18 2022 +0100 patch 9.0.0087: MS-Windows: CTRL-[ on Belgian keyboard does not work like Esc Problem: MS-Windows: CTRL-[ on Belgian keyboard does not work like Esc. Solution: Figure out what the key code means. (Anton Sharonov, closes #10687, closes #10454)
author Bram Moolenaar <Bram@vim.org>
date Tue, 26 Jul 2022 22:30:02 +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}\")