FabGL icon indicating copy to clipboard operation
FabGL copied to clipboard

enhancement: add the Termcap Library

Open snakebyte69 opened this issue 2 years ago • 2 comments

Add the Termcap Library so any terminal can be used https://www.gnu.org/software/termutils/manual/termcap-1.3/html_mono/termcap.html

snakebyte69 avatar Jul 29 '23 05:07 snakebyte69

I believe Termcap is a server-side library, and FabGL is mostly a client library.

mobluse avatar Jul 29 '23 10:07 mobluse

termcap is used to tell a host computer what escape sequences to send to a terminal for the various cursor control functions. This allows a program written for terminal use to not have to rely on hard-coded escape sequences for a specific terminal emulation - it can simply make a curses (or ncurses) call for a cursor movement operation and the api will figure out what escape sequence needs to be set based upon the termcap entry for the terminal being used.

geneb avatar Aug 11 '23 16:08 geneb