start | all-pages
textualuserinterface
Based on the core (termina) vocabulary, I also provide a set of
words for creating textual user interfaces.
The model used here has the user provide three functions. One
sets up a 'hints' area, one sets up key handlers, and one is
the display. The `ti:application` word calls the hints & key
handler setup, then runs a loop, calling the display word and
then displaying the 'hints' below it. It will then read a key
and process it.