commit fdf47efee0c8c4e504357edbb65c15071859567f
parent b11c164c60aedf10026bfc1a168ce79ba005fe43
Author: Jan Klemkow <j.klemkow@wemelug.de>
Date: Thu, 9 Apr 2020 22:59:42 +0200
document memory options in manpage and rm TODO
Diffstat:
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/TODO b/TODO
@@ -1,6 +1,4 @@
* strlen function which is aware of unicode
- * make scroll configurable by config.h in suckless style
- - configure option for scrollbackbuffer size
* hotkey to dump buffer to file (like screen hardcopy)
* screen refresh on window size change
* scroll back if screen was cleared (sh; ls; clear; scrollup())
diff --git a/scroll.1 b/scroll.1
@@ -21,6 +21,8 @@
.Nd scrollback buffer
.Sh SYNOPSIS
.Nm
+.Op Fl M
+.Op Fl m Ar size
.Ar program
.Sh DESCRIPTION
The
@@ -28,6 +30,15 @@ The
utility saves output lines from the child
.Ar program
to use them for scrollback.
+.Pp
+The options are as follows:
+.Bl -tag -width Ds
+.It Fl M
+Set memory limit used for scrollbackbuffer to maximum.
+.It Fl m Ar size
+Set memory limit used for scrollbackbuffer to
+.Ar size .
+.El
.Sh EXIT STATUS
.Nm
exits with the status code of its the child