Skip to content

fix: prevent stale CLI output behind home TUI screens - #15

Merged
cotore-game merged 2 commits into
release/v1.1.2from
fix/tui-screen-transitions
Sep 16, 2026
Merged

cotore-game merged 2 commits into
release/v1.1.2from
fix/tui-screen-transitions

Conversation

@cotore-game

Copy link
Copy Markdown
Owner

Cause

The home TUI treated an up-to-date result from update.sh as a successful installation and unconditionally re-executed the home screen. whiptail then restored the terminal contents beneath subsequent dialogs, briefly exposing the previous CLI message (for example, the version-is-current text) during later server actions.

Fix

  • Re-execute the home screen only if the installed VERSION file actually changed.
  • Clear terminal output after the Enter pause and before the next TUI menu. The shared pause path also covers logs, creation, and properties import.
  • Add a regression test that verifies the up-to-date path waits for Enter and clears the terminal before the next menu.

Verification

  • 131 WSL specification tests passed locally; one nested ZIP test was skipped because zip is not installed locally.
  • Bash syntax, locale validation, and git diff --check passed.
  • No server data or user configuration was changed during development.

@cotore-game
cotore-game merged commit 8b657cf into release/v1.1.2 Sep 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant