Ncurses User Interface Library
Find a file
2026-02-21 13:11:26 +03:00
.vscode Инициализация проекта 2026-01-04 14:17:53 +03:00
doc Обновление версии до 0.1.0-alpha.5. 2026-02-07 21:49:34 +03:00
example Добавлены скриншоты примера. 2026-02-08 01:03:28 +03:00
source/ncui Добавлено оформление для метки Checkbox. 2026-02-08 00:55:28 +03:00
.gitignore Испрвление игнорирований 2026-01-04 19:02:00 +03:00
dub.json Обновлены описания. 2026-01-28 05:37:35 +03:00
dub.selections.json Инициализация проекта 2026-01-04 14:17:53 +03:00
LICENSE.txt Добавлен файл лицензии. 2026-01-27 03:04:01 +03:00
README.md Добавлено видео демонстрации примера использования. 2026-02-21 13:11:26 +03:00
README.ru.md Добавлено видео демонстрации примера использования. 2026-02-21 13:11:26 +03:00

Ncurses User Interface Library

GitHub tag code.dlang.org license

ncui is a library for building TUI (Text User Interface) applications in D on top of ncurses.

asciicast

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) and WorkspaceScreen (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

See documentation.


License

BSL-1.0