fix: call cont next in prompt function

this continues execution of lua, very obvious
fixes an issue with code stopping at the prompt function
lua5.4
TorchedSammy 2022-03-28 16:30:04 -04:00
parent 016a3a2ec7
commit 9fc2247c20
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
1 changed files with 1 additions and 1 deletions

2
api.go
View File

@ -271,7 +271,7 @@ func hlprompt(t *rt.Thread, c *rt.GoCont) (rt.Cont, error) {
}
lr.SetPrompt(fmtPrompt(prompt))
return nil, nil
return c.Next(), nil
}
// multiprompt(str)