mirror of https://github.com/Hilbis/Hilbish
feat: add multiline hook (resolves #19)
parent
f00063beaa
commit
60b1b50bb3
1
main.go
1
main.go
|
@ -156,6 +156,7 @@ func main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
func ContinuePrompt(prev string) (string, error) {
|
func ContinuePrompt(prev string) (string, error) {
|
||||||
|
hooks.Em.Emit("multiline", nil)
|
||||||
cont, err := readline.String(multilinePrompt)
|
cont, err := readline.String(multilinePrompt)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println("")
|
fmt.Println("")
|
||||||
|
|
Loading…
Reference in New Issue