From adc85b5711c6404cfea8b783977c251a329fcd3e Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Tue, 14 Mar 2006 17:06:12 +0000 Subject: [PATCH] * Do not switch to alternate screen when clearing, because sometimes we are unable to cleanly restore the state. --- caca/driver_network.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caca/driver_network.c b/caca/driver_network.c index 958286d..89bf08d 100644 --- a/caca/driver_network.c +++ b/caca/driver_network.c @@ -53,7 +53,7 @@ "\xff\x1f\xfa____" /* Set size, replaced in display */ \ "\xff\xf0" \ "\x1b]2;caca for the network\x07" /* Change window title */ \ - "\x1b[?1049h" /* Clear screen */ \ + "\x1b[H\x1b[J" /* Clear screen */ \ /*"\x1b[?25l"*/ /* Hide cursor */ \ #define ANSI_PREFIX \