aboutsummaryrefslogtreecommitdiffstats
path: root/pw.c
diff options
context:
space:
mode:
Diffstat (limited to 'pw.c')
-rw-r--r--pw.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/pw.c b/pw.c
index 96181f0..7f39674 100644
--- a/pw.c
+++ b/pw.c
@@ -204,9 +204,7 @@ static void redraw(char **circbuf, int nlines, int hpos,
snapshot[i] = dsref(circbuf[i]);
}
} else {
- printf("\r\033[%dA\033[J", snaplines);
- for (int i = 0; i < snaplines; i++)
- drawline(snapshot[i], hpos, columns);
+ clrline();
}
drawstatus(stat, cmd);
}