updates in the TUI overwrite the key hints in the status bar #55

Closed
opened 2026-08-03 19:21:49 +00:00 by hugo · 1 comment
Owner

the key hints in the status bar should come back after a moment after the auto-update triggers and shows it updated, so that the user gets a new view of the supported keys.

the key hints in the status bar should come back after a moment after the auto-update triggers and shows it updated, so that the user gets a new view of the supported keys.
hugo added this to the first feature complete release milestone 2026-08-03 19:21:49 +00:00
hugo added the bug label 2026-08-03 19:21:49 +00:00
Author
Owner

Implemented in 1a43bf1.

  • Successful reloads now show Updated HH:MM:SS for two seconds, then automatically restore the full key-hint footer.
  • Loading and error statuses remain visible instead of expiring.
  • Keyboard and mouse input cancel any outstanding transient update deadline so later action feedback is not hidden.
  • Added regression coverage for the live, expired, and non-expiring status states.

Verification:

  • cargo fmt --all -- --check
  • RUSTFLAGS="-D warnings" cargo check --workspace --all-targets
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo test --workspace (44 tests plus doc tests)
  • Live PTY run with the configured five-second auto-refresh: multiple update notices appeared and each returned to the complete key hints after two seconds
  • Release gotcha and gotcha-tui built and installed to ~/.local/bin; installed artifacts byte-match the release build

This is a TUI-only change, so no iPhone build or deployment is required.

Implemented in `1a43bf1`. - Successful reloads now show `Updated HH:MM:SS` for two seconds, then automatically restore the full key-hint footer. - Loading and error statuses remain visible instead of expiring. - Keyboard and mouse input cancel any outstanding transient update deadline so later action feedback is not hidden. - Added regression coverage for the live, expired, and non-expiring status states. Verification: - `cargo fmt --all -- --check` - `RUSTFLAGS="-D warnings" cargo check --workspace --all-targets` - `cargo clippy --workspace --all-targets -- -D warnings` - `cargo test --workspace` (44 tests plus doc tests) - Live PTY run with the configured five-second auto-refresh: multiple update notices appeared and each returned to the complete key hints after two seconds - Release `gotcha` and `gotcha-tui` built and installed to `~/.local/bin`; installed artifacts byte-match the release build This is a TUI-only change, so no iPhone build or deployment is required.
hugo closed this issue 2026-08-03 20:25:34 +00:00
Sign in to join this conversation.