Skip to content

fix(tui): prevent duplicate terminal prompts - #434

Merged
mohitranka merged 1 commit into
mainfrom
fix/terminal-blank-lines
Aug 25, 2026
Merged

mohitranka merged 1 commit into
mainfrom
fix/terminal-blank-lines

Conversation

@mohitranka

Copy link
Copy Markdown
Contributor

Summary

  • prevent blank Enter submissions from reaching the interactive shell
  • hide internal command-status wrapper text from terminal output
  • keep terminal copy selection aligned with rendered headers

Validation

  • cargo test --package forge-tui blank_enter_does_not_change_live_shell_output -- --nocapture
  • cargo test --package forge-tui
  • cargo fmt --all -- --check

The live regression spawns the real configured shell through portable_pty, captures its rendered output, submits a blank Enter, polls the PTY, and asserts that the output remains unchanged.

@mohitranka
mohitranka merged commit 668ef74 into main Aug 25, 2026
7 checks 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