Skip to content
Rob Thornton edited this page Sep 12, 2020 · 6 revisions

Introduction

GoNCurses is an ncurses library for Google's Go language. It provides language bindings for the core ncurses library as well as the extended form, menu and panel libraries.

Goncurses is still in development and the API is not entirely stable. If at all possible, any breaking changes will be avoided. Once the vast majority (>80%) of ncurses has been implemented you can expect a lot more stability.

If you run into any problems, please see the Known Issues section of the wiki prior to filing an issue report to make sure it hasn't already been covered.

Prerequisites

  • pkg-config
  • Ncurses development libraries

Installation - Linux

go get github.com/rthornton128/goncurses

CGO Linker Flag Error

If you receive an error when go get'ing this package, you can fix this by exporting the following environmental variable:

export CGO_LDFLAGS_ALLOW="-Wl,-Bsymbolic-functions"

See: https://github.com/rthornton128/goncurses/issues/50

Windows and OSX Installation

Current Status

Goncurses is in a fairly usable state. Most, if not all, of the core functions have been implemented already and many of the remaining functions have either a niche use or are duplicate features from other functions.

If you find any missing functionality please submit a bug report with your request and it will likely get implemented in a timely fashion. Alternatively, you can also submit a pull request via the issue tracker to add what you need. See contributing in the wiki for more information.