4e27efc3b9
- Optional JSON config ($PI_STAT_CONFIG, ~/.config/pi-stat/config.json, <script dir>/pi-stat.json) with refresh_interval; -i SEC overrides it - Refresh deadline anchored to cycle start; warn when a cycle takes >= 80% of the refresh interval or exceeds it - Switch the tty to cbreak once per session so keypresses made during a long cycle are not dropped - Ship pi-stat.json with the repo Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
5 lines
98 B
JSON
5 lines
98 B
JSON
{
|
|
"_comment": "refresh_interval in Sekunden, min. 1 (Default: 5)",
|
|
"refresh_interval": 10
|
|
}
|