Yasuhiro Matsumoto wrote:

> Windows console version doesn't switch to alternate-file with CTRL-^.
> Currently, os_win32.c has workaround for this. But it's not correct way.

It's correct for western keyboards.

Your solution doesn't work when pmodifiers is NULL.  And it sets the
MOD_MASK_CTRL modifier even though CTRL was already used to create the
character.  That will probably confuse mappings.

I'm not sure what will work for everybody.  Perhaps putting the checks
for these three keys in between these lines:

        *pch = (i > 0) ? pker->AChar : NUL;

        if (pmodifiers != NULL)


-- 
I wonder how much deeper the ocean would be without sponges.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui