This commit is contained in:
2026-01-13 17:23:46 +00:00
parent 2009c6673c
commit 269e339b4d

View File

@@ -533,7 +533,7 @@ func readEditableLine(prompt string) (string, error) {
fmt.Print("\r\n") fmt.Print("\r\n")
return string(buf), nil return string(buf), nil
case r == 0x03: case r == 0x03:
fmt.Println() fmt.Fprint(os.Stderr, "\r\n")
return "", errors.New("input interrupted") return "", errors.New("input interrupted")
case r == 0x04: case r == 0x04:
fmt.Println() fmt.Println()