Skip to content

fix(tui): keep theme cycle clickable after switch - #1155

Merged
edwin-zvs merged 1 commit into
mainfrom
fix/theme-cycle-status-preempts-notices
Aug 2, 2026
Merged

fix(tui): keep theme cycle clickable after switch#1155
edwin-zvs merged 1 commit into
mainfrom
fix/theme-cycle-status-preempts-notices

Conversation

@edwin-zvs

Copy link
Copy Markdown
Contributor

Summary

  • Clicking theme:<name> on the modeline no longer posts a left-side status like theme: basic.
  • That status used to hide the persistent notice block (theme:… | remote | version) and drop its hit zones until the ~5s status timer expired, so rapid cycle clicks felt stuck.
  • The active theme remains visible on the persistent theme:<name> label itself; failures still surface via status.

Test plan

  • cargo test -p construct-cli --bin construct cycle_theme_keeps_persistent_notices_clickable
  • In TUI, click theme:<name> repeatedly on a mid-width terminal; notices stay put and each click advances the theme with no multi-second dead zone

Successful theme apply no longer sets a transient status message.
That status was preempting the right-aligned modeline notices
(theme, remote, version) and their click targets for ~5s whenever
left content collided with the notice block.
@edwin-zvs
edwin-zvs merged commit 114e0fa into main Aug 2, 2026
1 check passed
@edwin-zvs
edwin-zvs deleted the fix/theme-cycle-status-preempts-notices branch August 2, 2026 04:31
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