So still experimenting here and learning alot about the keyboard widget !!
It turns out its surprisingly easy to run <action...
widgets that are typed into a edit field. Here is a brief version of the code to do just this:
\procedure onEnter()
{{temp!!command}}
\end
<$keyboard key="enter" actions=<<onEnter>> >
<$edit-text field="command" placeholder="Enter commands here..." />
</$keyboard>
I’v put a demo up here with a bit more functionality (mostly up and down arrow keystrokes to navigate a “history” of command entered - just to eliminate some typing when checking out the demo so far)