From 3636efe7f8a5f158db48b1bbeecdb14fdcb11be1 Mon Sep 17 00:00:00 2001 From: TorchedSammy <38820196+TorchedSammy@users.noreply.github.com> Date: Tue, 22 Mar 2022 18:33:11 -0400 Subject: [PATCH] docs: add doc for mode param of runnerMode function --- api.go | 1 + 1 file changed, 1 insertion(+) diff --git a/api.go b/api.go index 2cfff99..93a8c6a 100644 --- a/api.go +++ b/api.go @@ -483,6 +483,7 @@ func hlinputMode(L *lua.LState) int { // Accepted values for mode are hybrid (the default), hybridRev (sh first then Lua), // sh, and lua. It also accepts a function, to which if it is passed one // will call it to execute user input instead. +// --- @param mode string|function func hlrunnerMode(L *lua.LState) int { mode := L.CheckAny(1) switch mode.Type() {