Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What libraries are needed for graphics like vim or nano?

Tags:

c

graphics

What library is used to make a static terminal window like vim, nano, irssi or aptitude as opposed to a scrolling terminal?

I'm using C, but I'd be interested in libraries for other languages (for example, a C++ specific library).

like image 306
mouche Avatar asked Sep 14 '10 20:09

mouche


2 Answers

I believe the library you are looking for is Curses (or NCurses). There is also PDCurses for cross-platform (includind Win32) development.

I also remember the days of Conio on DOS based systems.

like image 52
Justin Niessner Avatar answered Nov 15 '22 07:11

Justin Niessner


Curses like library are usually used for that. pdcurses for windows, most *nixes come with a native version, or e.g. ncurses

like image 37
nos Avatar answered Nov 15 '22 05:11

nos