Bug: "Slash return" only erases the slash on the first line #786

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

Originally created by @markjaquith on GitHub (Jul 17, 2025).

Typing \{return} triggers a new line (and should erase the slash character). It used to work on any line, but now the slash remains if you do \{return} on the second line (or any subsequent line).

Formerly: Line one\{return}\{return}Line three\{return}Line four would produce:

Line one

Line three
Line four

Now it produces:

Line one
\
Line three\
Line four

Opencode v0.3.18

Originally created by @markjaquith on GitHub (Jul 17, 2025). Typing `\{return}` triggers a new line (and should erase the slash character). It used to work on any line, but now the slash remains if you do `\{return}` on the second line (or any subsequent line). Formerly: `Line one\{return}\{return}Line three\{return}Line four` would produce: ``` Line one Line three Line four ``` Now it produces: ``` Line one \ Line three\ Line four ``` Opencode v0.3.18
yindo closed this issue 2026-02-16 17:28:18 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#786