Ncurses
ncurses (New Curses)
ncurses (new curses) is a programming library that provides an API to display text-based user interfaces in a terminal. It offers functions to manipulate the text, colors, and cursor to create interfaces like menus, forms, and more.
What is Ncurses?
Ncurses (new curses) is a programming library that provides an application programming interface (API) for text-based user interfaces (TUI) in a terminal emulator. It is designed to facilitate the creation of TUIs and enable developers to write terminal-based applications.
The ncurses library is based on the curses library originally written for BSD Unix. It offers an additional set of features, improved performance, and greater portability across different terminals and operating systems. Some of the key capabilities provided by ncurses include:
- Text and background color control
- Cursor control for navigation and screen addressing
- Creating windows and panels for complex interfaces
- Menus, forms and other widget support
- Mouse event support
- Screen clearing and optimization functions
Ncurses is written in C, but wrappers allow it to be used by various other languages like C++, Ada, Haskell, Perl, PHP, Python, Ruby and more. It is very portable and has been adopted across various Unix platforms and operating systems including Linux, macOS, FreeBSD and more.
Due to its text-based nature and efficiency, ncurses remains popular for developing terminal applications like system monitors, network tools, interactive games, TUI-based configuration utilities and more. The ncurses library provides developers the capabilities to easily create responsive CLI-based interfaces for their tools and applications.
Ncurses Features
Features
- Text-based user interface library
- Supports color, key handling, mouse support, menus, forms, panels, etc
- Portable - runs on many operating systems
- Wide language support - C, C++, Ada, Python, Perl, Ruby, etc
- Built-in support for internationalization
Pricing
- Open Source
Pros
Cons
Official Links
Reviews & Ratings
Login to ReviewThe Best Ncurses Alternatives
View all ncurses alternatives with detailed comparison →
Top Development and Terminal User Interfaces and other similar apps like Ncurses
Here are some alternatives to Ncurses:
Suggest an alternative ❐Termbox
Turbo Vision
FTXUI
Gui.cs
BearLibTerminal
ConsoleGUI
Libmabuff
Libtcod
Rot.js
S-Lang