From 906d31bf059bd206ef6054c668fe10b93f33b336 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Tue, 3 May 2022 20:32:20 -0700 Subject: Ctrl-L refresh. --- pw.1 | 3 +++ pw.c | 2 ++ 2 files changed, 5 insertions(+) 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': -- cgit v1.2.3