diff --git a/evga-icx.c b/evga-icx.c index 64cd1fb..0b92c12 100644 --- a/evga-icx.c +++ b/evga-icx.c @@ -174,7 +174,8 @@ int main (int argc, char **argv) /* print sensor info */ if (print_info) { do { - printf("\x1b[K"); /* Clear current console line (really just for overwrite mode) */ + if (overwrite) + printf("\x1b[K"); /* Clear current console line */ if (gpu_num == -1) { /* No GPU specified on command line, loop over all supported GPUs */