aboutsummaryrefslogtreecommitdiffstats
path: root/pw.1
diff options
context:
space:
mode:
Diffstat (limited to 'pw.1')
-rw-r--r--pw.113
1 files changed, 13 insertions, 0 deletions
diff --git a/pw.1 b/pw.1
index 5a580db..a333a9f 100644
--- a/pw.1
+++ b/pw.1
@@ -564,6 +564,19 @@ to the specified decimal integer value. The default value is 15.
This value must be positive, and is clipped to the number of display lines
available in the terminal, less one.
+.IP "\fB-m\fP \fIinteger\fP"
+Set the maximum line length to
+.IR integer .
+The default value is 4095. Values smaller than 72 are adjusted to 72.
+The length is measured in display characters, not original characters.
+A control character like
+.B ^C
+counts as two characters. The behavior of
+.I pw
+is that when it is collecting a line, and the line has reached the maximum
+length, it keeps reading characters from the standard input, but discards
+them, while remaining responsive to TTY input.
+
.IP \fB-d\fP
Disable auto-quit: when no more input is available, instead of updating
the display one last time and terminating,