mirror of https://github.com/Hilbis/Hilbish
fix: dont print extra new line on ctrl+d in continue prompt
parent
9261253b63
commit
ce0b2ab955
1
main.go
1
main.go
|
@ -218,7 +218,6 @@ func ContinuePrompt(prev string) (string, error) {
|
||||||
lr.SetPrompt(multilinePrompt)
|
lr.SetPrompt(multilinePrompt)
|
||||||
cont, err := lr.Read()
|
cont, err := lr.Read()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println("")
|
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
cont = strings.TrimSpace(cont)
|
cont = strings.TrimSpace(cont)
|
||||||
|
|
Loading…
Reference in New Issue