input manager - PaleScript/bootimage GitHub Wiki
A User Input Manager that uses readline to create inputs.
in your post run create the input Manager
// main.js:myOS
postrun() {
   this.createInputManager();
}or in ts
override postrun() {
   this.createInputManager();
}This will create the input manager but the user wont be getting anything. override the function "runInputManager" and make question something to the user.
// main.js:myOS
runInputManager() {
   this.getInputManager().question(query, [callback]);
}or in ts
// main.ts:myOS
override runInputManager() {
   this.getInputManager().question(query, [callback]);
}And now once you run your os it will question a query to the user and whenever the user enters a answer the callback will run.