The main part of TUIController that is actually TUI-specific is the input events (and those mainly because the terminal is limited in how it can report click-and-drag type operations). So generify it to Controller and in the long term figure out a clean way to abstract over input events.
The main part of
TUIController
that is actually TUI-specific is the input events (and those mainly because the terminal is limited in how it can report click-and-drag type operations). So generify it toController
and in the long term figure out a clean way to abstract over input events.