feat: add multiline hook (resolves #19)

pull/46/head
sammy 2021-05-01 14:25:35 -04:00
parent f00063beaa
commit 60b1b50bb3
No known key found for this signature in database
GPG Key ID: 50EE40A2809851F5
1 changed files with 1 additions and 0 deletions

View File

@ -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("")