Text GUI Toolkit (TGT) allows the programmer to
forget about GUI implementation internals in their
textmode application. Designing an interface now
requires only specifying what kinds of controls
(windows, labels, buttons, etc.) are needed, and
where they should be placed. All dirty work, such
as formatting, displaying, and handling keyboard
(including controls switching, etc.) is done by TGT.
TGT and TGT API were written in an OO way, but
using pure C.