aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-05-03 20:32:20 -0700
committerKaz Kylheku <kaz@kylheku.com>2022-05-03 20:32:20 -0700
commit906d31bf059bd206ef6054c668fe10b93f33b336 (patch)
treedc163c13f30383b229135e7ff3e06b743c982b24
parente5b03d646ab412de3d5cd166815ffd39ad162753 (diff)
downloadpw-906d31bf059bd206ef6054c668fe10b93f33b336.tar.gz
pw-906d31bf059bd206ef6054c668fe10b93f33b336.tar.bz2
pw-906d31bf059bd206ef6054c668fe10b93f33b336.zip
Ctrl-L refresh.
-rw-r--r--pw.13
-rw-r--r--pw.c2
2 files changed, 5 insertions, 0 deletions
diff --git a/pw.1 b/pw.1
index 4da72ad..e423baa 100644
--- a/pw.1
+++ b/pw.1
@@ -159,6 +159,9 @@ Scroll the display to the right.
.IP "\fB0\fP, \fIHome\fP"
Reset scroll to first column.
+.IP \fBCtrl-L\fP
+Refresh the display.
+
.IP \fISpace\fP
Suspend the acquisition of new snapshots. In suspended mode,
input continues to pass through the FIFO, but new snapshots of data aren't
diff --git a/pw.c b/pw.c
index 6d53c5d..c9d9bbf 100644
--- a/pw.c
+++ b/pw.c
@@ -1119,6 +1119,8 @@ int main(int argc, char **argv)
break;
case '#':
stat ^= stat_lino;
+ // fallthrough
+ case ctrl('l'):
stat |= stat_force;
break;
case '0':