aboutsummaryrefslogtreecommitdiffstats
path: root/pw.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-04-29 07:22:41 -0700
committerKaz Kylheku <kaz@kylheku.com>2022-04-29 07:22:41 -0700
commit5d9e3f697908de66eb45a2af446de8365d2467df (patch)
tree462f7bada5acec9874a254df5fee731a30ade76d /pw.1
parent32d84fb2925e6f511fb8f8762ee02cb567095215 (diff)
downloadpw-5d9e3f697908de66eb45a2af446de8365d2467df.tar.gz
pw-5d9e3f697908de66eb45a2af446de8365d2467df.tar.bz2
pw-5d9e3f697908de66eb45a2af446de8365d2467df.zip
Handle terminal resizing.
Diffstat (limited to 'pw.1')
-rw-r--r--pw.112
1 files changed, 10 insertions, 2 deletions
diff --git a/pw.1 b/pw.1
index 542099e..c651588 100644
--- a/pw.1
+++ b/pw.1
@@ -392,8 +392,7 @@ interactively.
Many of the issues which follow are easy; patches welcome.
-The program doesn't respond to window size changes. The display format, such
-as the handling of control characters, is hard-coded.
+The display format, such as the handling of control characters, is hard-coded.
The program uses hard-coded ANSI sequences, so it doesn't support interesting
old terminals. On the other hand, it carries no dependency on any
@@ -423,6 +422,15 @@ is still receiving ten lines per second from standard input, and that's where
the timeout is applied. Until that is fixed, the way to get more timely
refresh behavior under heavy filtering is to play with the long interval.
+If the terminal window is resized to a narrower size, many terminals wrap
+any lines that would get truncated by the operation and this makes
+a mess of the display. While
+.I pw
+recovers the display area, wrapped lines get pushed above it and
+remain. This issue is likely unfixable, other than by implementing a
+text-editor-like full screen mode which has no scroll back above the
+display, and which recovers the prior content when exiting.
+
.SH AUTHOR
Kaz Kylheku <kaz@kylheku.com>