commit fdf47efee0c8c4e504357edbb65c15071859567f
Author:     Jan Klemkow <[email protected]>
AuthorDate: Thu Apr 9 22:59:42 2020 +0200
Commit:     Jan Klemkow <[email protected]>
CommitDate: Thu Apr 9 22:59:42 2020 +0200

    document memory options in manpage and rm TODO

diff --git a/TODO b/TODO
index d383262..5226388 100644
--- 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
index 07344f5..ba20c4a 100644
--- 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

Reply via email to