Charles Peacech wrote:
> 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 + ')')
And how is this done in the Python interface initialization?
--
hundred-and-one symptoms of being an internet addict:
66. You create a homepage with the impression to cure the afflicted...but
your hidden agenda is to receive more e-mail.
/// 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/groups/opt_out.