Ncurses User Interface Library
- D 100%
| .vscode | ||
| doc | ||
| example | ||
| source/ncui | ||
| .gitignore | ||
| dub.json | ||
| dub.selections.json | ||
| LICENSE.txt | ||
| README.md | ||
| README.ru.md | ||
Ncurses User Interface Library
ncui is a library for building TUI (Text User Interface) applications in D on top of ncurses.
The project includes:
- ncurses session with configurable settings (
raw/cbreak,echo,keypad,cursor,ESC delay) - screen stack engine (
push/replace/pop/popTo/quit) - two UI approaches:
ScreenBase(single window) andWorkspaceScreen(multiple windows) - basic widgets:
Button,Checkbox,TextBox,ListBox,TextView,Menu - unified error checking for ncurses / form / menu / panel calls
DUB
dub.json for your project:
{
"dependencies": {
"ncui": "~>0.1.0-alpha.5"
}
}
Examples
The repository contains an example subpackage:
dub run :example
License
BSL-1.0