On Mon, May 19, 2008 at 11:28 PM, Corey O'Connor <[EMAIL PROTECTED]> wrote:
>
> Hi all!
>
> I've noticed that one thing I do in vim that fails in yi (Using the
> vim keymap) is to make a change then rapidly typing ESC; ":w" to save
> the file. In vim this has the effect of bringing the editor out of
> insert mode and then saving the file. In yi this has the effect of
> bringing the editor out of insert mode then moving forward a single
> word (w) and then the error "unrecognized input."  To me this
> indicates some tweaking is required to Yi's input processing to get
> the same "performance" as vim.
>
> My question is: where would be a good place to start looking to
> improve this? yi looks to have changed quite a bit since I've tried
> hacking on it and I'm not sure where to start!
>

I would suspect this to be a race condition. But now, Yi (core) is single
threaded, so I really fail to see how this can arise there.

The only possibility I see is in the vty frontend or vty library. Can you
determine if this happens with gtk as well?
If not you could try to remove threading in the frontend (look
especially at uiRefresh).

Cheers,
JP.

--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
[email protected]
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---

Reply via email to