diff options
author | Phil Jones <philj56@gmail.com> | 2022-07-26 17:51:31 +0100 |
---|---|---|
committer | Phil Jones <philj56@gmail.com> | 2022-07-26 17:51:31 +0100 |
commit | 88e713b981c8760c255b19009918ee94f60fbdc1 (patch) | |
tree | ecdca68c12425bbec7fb2f353d28a03c4e2f5a5c /doc | |
parent | d3bf3b017b8129ff772ad9c5658ccdfc826d0e51 (diff) |
Add automatic detection of number of results.
Tofi will now try to autodetect how many results can be drawn if
--num-results=0 is specified, which is now the default.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/tofi.5.md | 5 | ||||
-rw-r--r-- | doc/tofi.5.scd | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/doc/tofi.5.md b/doc/tofi.5.md index 55e615f..916fc22 100644 --- a/doc/tofi.5.md +++ b/doc/tofi.5.md @@ -83,9 +83,10 @@ options. **num-results**=*n* -> Maximum number of results to display. +> Maximum number of results to display. If *n* = 0, tofi will draw as +> many results as it can fit in the window. > -> Default: 5 +> Default: 0 **selection-color**=*color* diff --git a/doc/tofi.5.scd b/doc/tofi.5.scd index 41c5fe9..3ad7015 100644 --- a/doc/tofi.5.scd +++ b/doc/tofi.5.scd @@ -75,9 +75,10 @@ options. Default: "run: " *num-results*=_n_ - Maximum number of results to display. + Maximum number of results to display. If _n_ = 0, tofi will draw as + many results as it can fit in the window. - Default: 5 + Default: 0 *selection-color*=_color_ Color of selected result. See *COLORS* for more information. |