Jacob Niehus wrote:
> I narrowed it down to the point I can reproduce it with no
> configuration file. Apparently keys typed while a shell command is
> executing are drawn on screen immediately, then drawn again after the
> command finishes. Also I should have mentioned before that this is not
> Cygwin-specific; it just was more apparent on Cygwin because Cygwin is
> slow, relatively speaking.
>
> vim -u NONE -i NONE -c 'autocmd InsertCharPre * call system("sleep 1")'
Sounds like echo is on while executing the system command, but the typed
character is not consumed by the external command.
Switching echo off may have undesired side effects, e.g. for a command
that asks for confirmation.
Perhaps we could detect we get a key right after system() and redraw.
That will cause flicker though.
--
hundred-and-one symptoms of being an internet addict:
25. You believe nothing looks sexier than a man in boxer shorts illuminated
only by a 17" inch svga monitor.
/// 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/d/optout.