Skip to content

fix: Line count on win#4401

Merged
rekram1-node merged 1 commit intoanomalyco:devfrom
Hona:fix/line-count-on-win
Nov 17, 2025
Merged

fix: Line count on win#4401
rekram1-node merged 1 commit intoanomalyco:devfrom
Hona:fix/line-count-on-win

Conversation

@Hona
Copy link
Copy Markdown
Member

@Hona Hona commented Nov 17, 2025

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes a line count issue on Windows by normalizing line endings in pasted content within the TUI prompt component.

  • Adds line ending normalization for paste events to handle Windows-specific newline characters (CR and CRLF)
  • Replaces CRLF with LF first, then converts any remaining CR to LF to ensure consistent Unix-style line endings

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@rekram1-node rekram1-node merged commit 5731c26 into anomalyco:dev Nov 17, 2025
9 checks passed
xywsxp pushed a commit to xywsxp/opencode that referenced this pull request Apr 24, 2026
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.

3 participants