[PR #1119] [MERGED] fix: \{return} should be replaced with new line on all lines #9816

Closed
opened 2026-02-16 18:14:13 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/1119
Author: @yihuikhuu
Created: 7/18/2025
Status: Merged
Merged: 7/18/2025
Merged by: @adamdotdevin

Base: devHead: fix-backslash-newline


📝 Commits (1)

  • 6de5816 fix: replace backslash using current position in row

📊 Changes

1 file changed (+2 additions, -1 deletions)

View changed files

📝 packages/tui/internal/components/chat/editor.go (+2 -1)

📄 Description

This fixes #1104.

ReplaceRange should use the position within the current row rather than the position within the full text


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opencode/pull/1119 **Author:** [@yihuikhuu](https://github.com/yihuikhuu) **Created:** 7/18/2025 **Status:** ✅ Merged **Merged:** 7/18/2025 **Merged by:** [@adamdotdevin](https://github.com/adamdotdevin) **Base:** `dev` ← **Head:** `fix-backslash-newline` --- ### 📝 Commits (1) - [`6de5816`](https://github.com/anomalyco/opencode/commit/6de5816aac6621af74445ded22042f12295915ec) fix: replace backslash using current position in row ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/tui/internal/components/chat/editor.go` (+2 -1) </details> ### 📄 Description This fixes #1104. ReplaceRange should use the position within the current row rather than the position within the full text --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 18:14:13 -05:00
yindo closed this issue 2026-02-16 18:14:13 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9816