فهرست منبع

document memory options in manpage and rm TODO

Jan Klemkow 5 سال پیش
والد
کامیت
fdf47efee0
2فایلهای تغییر یافته به همراه11 افزوده شده و 2 حذف شده
  1. 0 2
      TODO
  2. 11 0
      scroll.1

+ 0 - 2
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())

+ 11 - 0
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