We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1336ac3 commit ade11acCopy full SHA for ade11ac
pkg/command/code.go
@@ -54,7 +54,10 @@ func (c *Code) Prompts(input string) []string {
54
55
// Handle copy code in the reply to clipboard, and return the original reply
56
func (c *Code) Handle(reply string) {
57
- code := extractCode(reply)
+ code := reply
58
+ if strings.Contains(reply, "```") {
59
+ code = extractCode(reply)
60
+ }
61
fmt.Println(code)
62
fmt.Println()
63
if code != "" {
0 commit comments