No description.
NOTE: This function is deprecated and will be removed in 3.0
Use hilbish.runner.setCurrent
instead.
This is the same as the hilbish.runnerMode
function.
It takes a callback, which will be used to execute all interactive input.
Or a string which names the runner mode to use.
mode
string|function
NOTE: This function is deprecated and will be removed in 3.0
Use hilbish.runner.setCurrent
instead.
Sets the execution/runner mode for interactive Hilbish.
This determines whether Hilbish wll try to run input as Lua
and/or sh or only do one of either.
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.
Read about runner mode
for more information.
mode
string|function
Want to help improve this page? Create an issue.