Mercurial > vim
view src/typemap @ 21230:e67123c115d2 v8.2.1166
patch 8.2.1166: once mouse move events are enabled getchar() returns them
Commit: https://github.com/vim/vim/commit/ae97b94176062d30ea8c68bb83cde034c5150c78
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jul 9 19:16:35 2020 +0200
patch 8.2.1166: once mouse move events are enabled getchar() returns them
Problem: Once mouse move events are enabled getchar() returns them.
Solution: Ignore K_MOUSEMOVE in getchar(). (closes https://github.com/vim/vim/issues/6424)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 09 Jul 2020 19:30: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}\")