Sorry for my misunderstanding.
After looking at your code I realized that your terminal emulator
is a GUI application and I was responding about a shell :-)
Nonetheless, a terminal emulator is a very interesting tool.
On Sunday, 10 August 2014 at 13:25:32 UTC, Adam D. Ruppe wrote:
My thing works on Windows and Linux btw, though the windows
version pipes to the plink program to talk to ssh. It'd be
pretty easy to make it a stand alone thing though with a few
tweaks, then it could be like an escape sequence handling
library.