ncui 0.1.0-alpha.5

Ncurses User Interface Library


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

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.

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, 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

Authors:
  • Alexander Zhirov
Sub packages:
ncui:example
Dependencies:
ncurses
Versions:
0.1.0-alpha.5 2026-Feb-07
0.1.0-alpha.4 2026-Feb-01
0.1.0-alpha.3 2026-Jan-29
0.1.0-alpha.2 2026-Jan-28
0.1.0-alpha.1 2026-Jan-26
Show all 6 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 10 downloads this month

  • 94 downloads total

Score:
0.2
Short URL:
ncui.dub.pm