On Mon, Jun 3, 2013 at 1:06 AM, Bram Moolenaar <[email protected]> wrote:
>
> This item has been in the todo list for a very long time:
>
> Python: ":py raw_input('prompt')" doesn't work. (Manu Hack)
>
> It's nasty, I have to kill -9 Vim to get out.
>
> It appears Python tries reading from a file descriptor in a way that it
> doesn't work and CTRL-C doesn't get us out. Does anyone have an idea to
> fix this, or work around it? Or at least make it fail, so that Vim
> doesn't freeze?
Hi,
Why don't just override it with something that work
:py def raw_input(str): vim.command('call confirm(' + str + ')')
--
--
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.