Hey. I find a handful of helpers quite useful when I'm poking at stuff with this console. Which it is amazing for, btw.
For example, a p
function to combine game printing, serpent object dumps, etc, so I can quickly and easily dump stuff to the console for debugging or introspection.
It'd be wonderful, since the set will change over time, if I could have either:
1. some pre-written lua injected into the same scope as my input, so it evaluates prior to it, or
2. some access to history - even just having a "close then open" cycle retain the same content.
Ideally I'd like the interactions to be that I write some pro-forma when I have a common pattern, and then use it repeatedly in the console. I'm pretty sure the ideal would be a chunk of code that lives in scope, but anything would be fine as long as it was faster than "write code in external editor, copy and paste into your console, hit execute, maybe modify in-game, but remember to copy any changes to helpers back to the editor"