Skip to content

Fix multiline paste in AI terminal panels#203

Open
parsakhaz wants to merge 2 commits into
mainfrom
fixes
Open

Fix multiline paste in AI terminal panels#203
parsakhaz wants to merge 2 commits into
mainfrom
fixes

Conversation

@parsakhaz
Copy link
Copy Markdown
Member

Summary

  • protect multiline text paste in AI CLI terminal panels by converting pasted line breaks to Pane's existing Alt/Shift+Enter newline sequence
  • keep single-line text paste, image paste, drag/drop, and TUI paste behavior on the existing xterm path

Testing

  • pnpm typecheck
  • pnpm lint (passes with existing warnings)
  • pnpm build (frontend and main build pass; build:electron fails in this WSL environment while rebuilding msgpackr-extract because g++ rejects -m64)

Notes

  • The change is intentionally scoped to CLI panels when no alternate-screen TUI is active.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bf4ac4b1d1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread frontend/src/components/panels/TerminalPanel.tsx Outdated
Copy link
Copy Markdown
Member Author

@codex review

Copy link
Copy Markdown
Member Author

@claude review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

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