Total newb here - but lets say i want to make a terminal based video game (think old school text / visuals / menus), will something like Libghostty be something relevant to that?
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.
I imagine if you wanted to make a self-contained application so non-command-line users can play it, then maybe you could use it. Otherwise, probably out of scope of the game itself.