Skip to content

feat: improve summary TUI experience#143

Merged
unhappychoice merged 1 commit into
masterfrom
feat/improve-summary-tui
Feb 3, 2026
Merged

feat: improve summary TUI experience#143
unhappychoice merged 1 commit into
masterfrom
feat/improve-summary-tui

Conversation

@unhappychoice

Copy link
Copy Markdown
Member

Summary

Improve the TUI experience of the summary command by adding cursor control and signal handling.

Changes

  • Hide the cursor while the summary is being drawn to reduce flickering.
  • Ensure the cursor is restored when the command exits (normal exit or Ctrl+C).
  • Handle Interrupt (Ctrl+C) gracefully.
  • Output initial newlines to ensure there's enough space for the summary lines, preventing display issues on some terminal states.
  • Remove unused BUFFER_SIZE constant.

- Hide cursor during execution

- Restore cursor on exit

- Handle Interrupt signal (Ctrl+C)

- Ensure enough space for drawing

- Remove unused BUFFER_SIZE constant
@unhappychoice
unhappychoice merged commit 9fb0daa into master Feb 3, 2026
@unhappychoice
unhappychoice deleted the feat/improve-summary-tui branch February 3, 2026 15:23
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