Skip to content

Continue blinking of terminal #206

Closed

Description

@Pruthviraj36

Terminal UI Issue – Continuous Blinking & Scroll Reset

Description

When the number of tasks reaches the visible size of the terminal window, the terminal begins blinking continuously. During this process, if the user scrolls, the scroll position is automatically reset to the top, making it difficult to review previous logs or output.

This behavior negatively impacts usability when monitoring long-running tasks or reviewing earlier terminal output.


Observed Behavior

  • When tasks fill the terminal viewport:

    • The terminal refreshes/blinks continuously.
  • If the user scrolls up while the process is running:

    • The scroll position jumps back to the top automatically.
  • This prevents users from reading previous logs while tasks are executing.


Expected Behavior

  • The terminal should not blink or redraw excessively.
  • If the user scrolls manually, the scroll position should remain fixed until the user returns to the bottom.
  • Terminal updates should append output without forcing scroll resets.

Suggested Fix

Possible improvements include:

  1. Prevent full terminal redraws

    • Update only changed lines instead of re-rendering the entire terminal.
  2. Preserve scroll state

    • Detect if the user has scrolled away from the bottom and pause auto-scrolling.
  3. Throttle UI updates

    • Reduce refresh frequency to avoid blinking.
  4. Conditional auto-scroll

    • Only auto-scroll when the user is already at the bottom of the terminal.

Priority

⚠️ High Priority UI Issue

This should be addressed as soon as possible because it affects usability when monitoring active tasks.


Additional Feedback

Other than this issue, the system works very well overall.
I will continue testing and help identify more UI bugs if they appear.

squad_bug.mp4

Activity

  1. added 2 commits that reference this issue on Mar 7, 2026
  2. bradygaster commented on Mar 7, 2026

    @bradygaster
    Collaborator

    Fixed by PR #234 (merged to dev).

  3. bradygaster commented on Mar 7, 2026

    @bradygaster
    Collaborator

    Thank you for the detailed TUI feedback, @Pruthviraj36! The blinking and scroll-reset issue is a real usability blocker for monitoring long-running tasks. Your suggested fixes (conditional redraws, scroll state preservation) are exactly on point. We're prioritizing this. Great testing work! 💪

    — McManus 📝, on behalf of the Squad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    release:deferDeferred past next release

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions