- Might be useful:
https://github.com/llandsmeer/inkvt
- Might also be useful but require some porting (only compatible with InkBox OS currently):
https://github.com/Kobo-InkBox/ITerm
https://www.youtube.com/watch?v=7piH2415cnY
It has better rendering overall since it uses Qt instead of printing directly on the FB.
You can use tmux on your local computer and SSH from the device. It's probably possible to launch either one of these with a command without typing it in from a touchscreen.