]> git.tuebingen.mpg.de Git - paraslash.git/commit
interactive: Fix wipe_bottom_line() on MacOS.
authorAndre Noll <maan@systemlinux.org>
Tue, 7 Aug 2012 11:32:44 +0000 (13:32 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 18 Nov 2012 19:28:28 +0000 (20:28 +0100)
commitbe1074b491b51e3fd4a413f530517e3ff847b022
tree9138505438a54c58dcd130957ed41be654858135
parent3ba7724e92b52f5933632ff7d948d0f9491440db
interactive: Fix wipe_bottom_line() on MacOS.

Once readline has been initialized, writing more than 68 characters in one go
to stderr using stdio causes interesting effects on Mac OS. Specifically, the
terminal is completely messed up. To increase the anticipated weirdness level,
writing the same string in smaller chunks just works fine. This patch adds such
code to interactive.c.
interactive.c