rivertile: fix code to disallow 0 main count

Also document this limit
This commit is contained in:
Isaac Freund
2023-01-06 17:47:54 +01:00
parent 030f7efd4f
commit c479525ab8
2 changed files with 10 additions and 10 deletions

View File

@ -54,6 +54,7 @@ These commands may be sent to rivertile at runtime with the help of
Set or modify the number of views in the main area of the layout. If
_value_ is prefixed by a +/- sign, _value_ is added/subtracted from the
current count. If there is no sign, the main count is set to _value_.
Note that the main count cannot be decreased below 1.
*main-ratio* _value_
Set or modify the ratio of the main area to total layout area. If