Chris Lubinski wrote:

> Hey, I'd usually ask Bram but I think it'd be a lot faster to ask the
> community. I'm working on a bug in which safe_vgetc() returns a
> pointer to -24317. The bug deals with several characters being
> replaced with "^C" while replacing in visual mode, so this isn't a
> multibyte character or any other textual character. 24317 seems very
> wrong to me, but it may be a control character. To cut down time, does
> anyone know if this can be valid output for safe_vgetc()?

Negative numbers are used for special keys.  See src/keymap.h.

-- 
Time is money.  Especially if you make clocks.

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui