Skip to content

Commit 01c44d6

Browse files
committed
add multi line strings to final prompt
1 parent 9b12a51 commit 01c44d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/cmd.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,7 @@ func generateInteractive(cmd *cobra.Command, model string) error {
581581
isMultiLine = false
582582
painter.HideHint = false
583583
multiLineBuffer += strings.TrimSuffix(line, `"""`)
584+
line = multiLineBuffer
584585
multiLineBuffer = ""
585586
scanner.SetPrompt(">>> ")
586587
} else {

0 commit comments

Comments
 (0)