The Sk.inputfun function is one of the optional functions passed to the Sk.configure function. The site that is using Skulpt defines what function Skulpt will use for input.
In the repository, for example, there is one example Sk.inputfun function defined on lines 184-186 of
src/env.js
Another example function can be seen on lines 37-39 of
support/run_template.htmlWhat kind of a custom input function are you looking to create?
- Michael Cimino