Sunday, June 5, 2016

[bug] getchar(0) should not return `<80><fc>^B`

execute the following commands:
:set nomore
:while 1|sleep 1|echo getchar(0)|endw

if input the key <shift-leftmouse>, the output will be:
<80><fc>^B<80><fd>,
<80><fc>^B<80><fd>.
<80><fc>^B
<80><fc>^B
<80><fc>^B
<80><fc>^B
...
I think the output should be
<80><fc>^B<80><fd>,
<80><fc>^B<80><fd>.
0
0
0
...
There is a bug here.

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: