Skip to content

Terminal UI break when terminal is resized during pdd sync #236

@Serhan-Asad

Description

@Serhan-Asad

Version

  • PDD version: 0.0.96

Description

The Terminal UI becomes severely corrupted when the terminal window is resized during pdd sync execution, causing overlapping text, repeated values, and unreadable output.

Reproduction

  1. Run pdd sync <prompt_file>
  2. Resize the terminal window while sync is running
  3. Observe TUI corruption

Expected

Terminal UI should handle resize events and redraw cleanly

Actual

Severe rendering corruption with overlapping elements and garbled text (screenshot below)

Screenshot

Image

Fix Likely

Likely missing resize handler in pdd/sync_tui.py. Textual apps need on_resize() event handler to properly redraw on terminal size changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions