C: How do i go about gaining access to a full terminal window on a *nix system

Viewed 54

I am planning on writing a command line text editor in C for a *nix system similar to nano or vim but I am stuck on how I would go about getting access to the entire terminal window so the user can move around the text editor freely, do I need to use a 3rd party library to achieve this result if so what libraries are required, or am I able to achieve this result with the standard C libraries and if so what libraries should I use.

1 Answers

The ncurses library is the simplest way of gaining access to a full terminal window although it can also be achieved with the libc libraries.

Related