feat(cli): add height-aware compact outage schedule
This commit is contained in:
@@ -232,11 +232,16 @@ The terminal output uses English-only labels and omits the stored address and
|
||||
reason text. When there are no qualifying events for any bill it prints an `ALL
|
||||
CLEAR` screen and exits successfully.
|
||||
|
||||
Schedule entries use one compact row each. When every outage cannot fit below
|
||||
the countdown, the dashboard keeps the nearest entries visible and reports how
|
||||
many additional outages were omitted. Resizing the terminal reveals more rows.
|
||||
|
||||
Colors are enabled only when output is attached to a terminal. Set `NO_COLOR` to
|
||||
disable them explicitly, or set `COLUMNS` to control the rendered width:
|
||||
disable them explicitly, or set `COLUMNS` and `LINES` to control the rendered
|
||||
size:
|
||||
|
||||
```sh
|
||||
NO_COLOR=1 COLUMNS=80 ./main.sh
|
||||
NO_COLOR=1 COLUMNS=80 LINES=24 ./main.sh
|
||||
```
|
||||
|
||||
When `pyfiglet` or `figlet` provides the `univers` font, the countdown uses it
|
||||
|
||||
Reference in New Issue
Block a user