From 9fc2247c200c54f03ee752246329d6185267809a Mon Sep 17 00:00:00 2001 From: TorchedSammy <38820196+TorchedSammy@users.noreply.github.com> Date: Mon, 28 Mar 2022 16:30:04 -0400 Subject: [PATCH] fix: call cont next in prompt function this continues execution of lua, very obvious fixes an issue with code stopping at the prompt function --- api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.go b/api.go index 0ffdf8e..0032e49 100644 --- a/api.go +++ b/api.go @@ -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)