Skip to content

trotha01/goncurses

 
 

Repository files navigation

Installation

The go tool is the recommended method of installing goncurses. Issue the following command on the command line:

$ go get "github.com/rthornton128/goncurses"

Alternatively, you could use git to install goncurses.

Windows Users

Goncurses is, strictly speaking, an ncurses library. Ncurses is not available on Windows without using either a VM running an OS with ncurses or Cygwin. Instead, Goncurses uses PDCurses which is not 100% compatible with ncurses. As a result, some features of ncurses will not be available to you. Namely, the "extended" curses functionality found in the form and menu extentions.

For installation instructions, please see the wiki.

Notes

No functions which operate only on stdscr have been implemented because it makes little sense to do so in a Go implementation. Stdscr is treated the same as any other window.

Whenever possible, versions of ncurses functions which could potentially have a buffer overflow, like the getstr() family of functions, have not been implemented. Instead, only mvwgetnstr() and wgetnstr() are used.

About

NCurses Library for Go

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 58.4%
  • C 41.6%