Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions lib/httpapi/claude.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ func formatPaste(message string) []st.MessagePart {

func formatClaudeCodeMessage(message string) []st.MessagePart {
parts := make([]st.MessagePart, 0)
// janky hack: send a random character and then a backspace because otherwise
// Claude Code echoes the startSeq back to the terminal.
// This basically simulates a user typing and then removing the character.
parts = append(parts, st.MessagePartText{Content: "x\b", Hidden: true})
parts = append(parts, formatPaste(message)...)

return parts
Expand Down