[PATCH] Detect console width on Windows

Dan Villiom Podlaski Christiansen danchr at gmail.com
Mon Apr 26 08:20:46 CDT 2010


On 26 Apr 2010, at 15:16, Patrick Mézard wrote:

>> The COLUMNS fallback has the annoying effect that changing the terminal width during a long session doesn't affect Mercurial.
> 
> I don't follow you here.

What I mean is that if I resize the window during a long Mercurial session — such as an hgsubversion pull — it has no effect. Normally, COLUMNS is set by the shell when Mercurial is invoked, and never changed during its execution. If I make my terminal window smaller, any new messages will be wrapped…

--

Dan Villiom Podlaski Christiansen
danchr at gmail.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1943 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20100426/d471157b/attachment.bin>


More information about the Mercurial-devel mailing list