Trim tmux-continuum status if no save present

This commit is contained in:
Aaron Kollasch 2022-11-10 22:53:25 -05:00
parent e0dd39def5
commit 7a8c436807
No known key found for this signature in database
GPG key ID: F813CAE853E39883

View file

@ -129,7 +129,7 @@ print_status() {
time_delta="$(($(current_timestamp) - last_continuum_timestamp))"
time_delta_minutes="$((time_delta / 60))"
status="$status; next: T$(printf '%+d' "$((time_delta_minutes - save_int))")min"
status="$status; T$(printf '%+d' "$((time_delta_minutes - save_int))")min"
fi
elif [[ "$time_delta" -le "$info_threshold" ]]; then
status="saved"