mirror of https://github.com/Hilbis/Hilbish
fix: use readline in continue prompt
parent
935bed3dc6
commit
5d0fecf902
3
main.go
3
main.go
|
@ -146,8 +146,7 @@ func main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
func ContinuePrompt(prev string) (string, error) {
|
func ContinuePrompt(prev string) (string, error) {
|
||||||
hl := hilbiline.New(multilinePrompt)
|
cont, err := readline.String(multilinePrompt)
|
||||||
cont, err := hl.Read()
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println("")
|
fmt.Println("")
|
||||||
return "", err
|
return "", err
|
||||||
|
|
Loading…
Reference in New Issue