1
0
mirror of https://github.com/pcvolkmer/checkbar.git synced 2025-07-02 14:22:54 +00:00

Use ANSI Escape sequences to produce a terminal-output if running in terminal

This commit is contained in:
2023-12-10 12:37:03 +01:00
parent 8ff43775aa
commit fea1d3f650
6 changed files with 161 additions and 26 deletions

View File

@ -87,11 +87,15 @@ down = "#FF0000"
The color configuration is optional. If used, all colors must be specified.
Colors are not available if running in terminal mode.
=== Execute commands
You can also specify a command to be executed when a mouse click occurs on a checked host.
Use `click_cmd` to specify the command to be executed, e.g.
This is not available if running in terminal mode.
----
...
[[checks]]