> To use a custom terminal which, not unlike Kitty images, allows generic apps to pass escape codes to control the UI components.
> I'm surprised i've not seen more of this in the past to be honest.
This is what emacs is. It's a text buffer, but text can have properties like how to render, and custom values. then a bunch of commands to manipulate the buffer and it's contents.
Funny you say that, i had always wondered what Emacs was - i should have followed that curiosity at some point. It always looked like a standard TUI, but i thought it required its own executable.
I'll look into that, thanks!