I wish softwares were more often retrofitted to terminal when possible. Good work !
It's not retrofitting. If you make it work for the terminal it will always work from now on.
It comes outside the reaches from the graphical designers. Nothing with a graphical design survives more than 10 years.
I typically write my code as a library that can then be called by an interface (or other program) rather than as a monolithic unit. Also makes it easier to run on diferent devices.