To expand on the other replies: There are two very different tasks here.
This library would be for the task of taking a received ECMA-48 character stream and turning that into a series of actions on some sort of model of a terminal's display, keyboard, and mouse.
You are looking at a library for the (roughly) inverse task of taking a model of UI widgets and turning that into a transmitted ECMA-48 character stream.
This library would be for the task of taking a received ECMA-48 character stream and turning that into a series of actions on some sort of model of a terminal's display, keyboard, and mouse.
You are looking at a library for the (roughly) inverse task of taking a model of UI widgets and turning that into a transmitted ECMA-48 character stream.
Here's an example of the former:
* https://github.com/jdebp/nosh/blob/trunk/source/ECMA48Decode...
* https://github.com/jdebp/nosh/blob/trunk/source/SoftTerm.h
Here's an example of the latter:
* https://github.com/jdebp/nosh/blob/trunk/source/ECMA48Output...
* https://github.com/jdebp/nosh/blob/trunk/source/TUIDisplayCo...
* https://github.com/jdebp/nosh/blob/trunk/source/TUIVIO.h
* https://github.com/jdebp/nosh/blob/trunk/source/TUIVIOWidget...