mirror of
https://github.com/Hilbis/Hilbish
synced 2025-04-04 04:33:23 +00:00
feat: add multiline hook (resolves #19)
This commit is contained in:
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…
x
Reference in New Issue
Block a user