How to make programs like nano / pico in linux
1 answer
You can use curses or a similar library to create such a user interface - check out GNU ncurses for example.
Wikipedia summarizes ncurses nicely
ncurses is a programming library providing an API that allows the programmer to enter textual user interfaces in a terminal independent manner. It is a development toolkit for GUI applications that run under a terminal emulator. It also optimizes screen changes to reduce latency when using a remote shell.
+9
source to share