[PATCH STABLE] ui: pass ' ' to raw_input when prompting

Idan Kamara idankk86 at gmail.com
Thu Aug 25 14:08:56 CDT 2011


On Thu, Aug 25, 2011 at 10:06 PM, Idan Kamara <idankk86 at gmail.com> wrote:
>
> # HG changeset patch
> # User Idan Kamara <idankk86 at gmail.com>
> # Date 1314299163 -10800
> # Branch stable
> # Node ID 8050db40bc5a0ff9bcda77e528c9840bcf16b72e
> # Parent  7f504202cb5c62e37d07441180ebc866b8ea02b8
> ui: pass ' ' to raw_input when prompting
>
> This is a workaround for calling ui.prompt(...), typing some character
then
> hitting backspace which causes the entire line to delete rather than just
the
> one character. This was seen on Debian using gnome-terminal.

If anyone can see that this doesn't break things like color or what not
on Windows (or other terminals) before 1.9.2 that'd be great.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20110825/1a9a29eb/attachment.html>


More information about the Mercurial-devel mailing list