1. Evan Gates
  2. pcw

Commits

Evan Gates  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

  • Participants
  • Parent commits c6aaaab
  • Branches default

Comments (0)

Files changed (2)

File cw.c

View file
 
 	rewind(in);
 
+	fputs("\033[1;1H", stdout);
+	fputs("\033[2J", stdout);
+	fflush(stdout);
+
 	while (fgets(buf, sizeof(buf), in))
 		print_line(buf);
 	fflush(stdout);

File pcw.1

View file
 .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