2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-04-02 19:53:23 +00:00

feat: add multiline hook (resolves #19)

This commit is contained in:
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

View File

@ -156,6 +156,7 @@ func main() {
}
func ContinuePrompt(prev string) (string, error) {
hooks.Em.Emit("multiline", nil)
cont, err := readline.String(multilinePrompt)
if err != nil {
fmt.Println("")