> TSE: Linux: Is 'e' a console (API) application or a graphical (API) application?
Neither, I would say, because no OS API is involved, but there is a "terminal API".
Linux TSE is a console application in the general sense: It is completely text based.
Any "graphical" action is implemented (or not!) by the terminal or command line that Linux TSE is running in.
Linux desktops come with more capable terminals than Linux servers, and direct command lines are the worst.
Linux TSE sends and receives "special text strings" to and from the terminal to write text to specific positions on the screen, set colors, make a sound, change the cursor shape, request and receive mouse events, and more.
It depends on the terminal whether this will work or not.
Like all TSE variants it does no real line drawing, but writes the text-characters for line-shapes.
A very extensive source of documentation for the "special text strings" is
https://invisible-island.net/xterm/ctlseqs/ctlseqs.html
It has a steep learning curve. I have only explored its slopes.
Linux TSE writing "special text strings" to the screen generally seems to work well.
However, Linux TSE receiving "special text strings" for mouse events resembles normal keyboard input, and they cause side-effects.
Have fun,
Carlo