diff options
-rw-r--r-- | lowbat.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -154,7 +154,7 @@ int main() { } if (discharging != old_discharging || capacity != old_capacity) { - printf("\r%s%d%%", discharging ? "-" : "+", capacity); + printf("%s%d%%\n", discharging ? "-" : "+", capacity); fflush(stdout); } old_discharging = discharging; |