Commits

Anonymous committed 32efd6b

clear screen on redraw for cw (for short backlogs)
update man page to show that infile and outfile are requried args to cw

Comments (0)

Files changed (2)

 
 	rewind(in);
 
+	fputs("\033[1;1H", stdout);
+	fputs("\033[2J", stdout);
+	fflush(stdout);
+
 	while (fgets(buf, sizeof(buf), in))
 		print_line(buf);
 	fflush(stdout);
 .I dir
 .YS
 .SY cw
+.BI \-i " infile"
+.BI \-o " outfile"
 .OP \-d delim
 .OP \-f field
-.OP \-i infile
 .OP \-m margin
-.OP \-o outfile
 .SY
 
 .SH OPTIONS