2
2
의 미러 https://github.com/Hilbis/Hilbish synced 2025-07-01 00:32:03 +00:00

docs: add doc for mode param of runnerMode function

This commit is contained in:
TorchedSammy 2022-03-22 18:33:11 -04:00
부모 053914ec45
커밋 3636efe7f8
로그인 계정: sammyette
GPG 키 ID: 904FC49417B44DCD

1
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() {