Skip to content

Repository files navigation

curses.go

GO binding for ncurses.

Sample

package main
import "github.com/tncardoso/curses.go"
func main() {
curses.Initscr()
defer curses.End()
curses.Cbreak()
curses.Noecho()
curses.Stdscr.Keypad(true)
curses.Attron(curses.A_BOLD)
curses.Addstr("Hello World!")
curses.Refresh()
wind := curses.NewWindow(10,40,10,10)
wind.Box(0,0)
wind.Refresh()
curses.Stdscr.Getch()
}

Requirements

Installation

goinstall is now supporting cgo packages, therefore installing curses.go should be as easy as:

$ goinstall github.com/tncardoso/curses.go

If you have problems with goinstall, you can update your go release or clone the repository:

$ git clone git://github.com/tncardoso/curses.go.git
$ cd curses.go
$ gomake install

About

GO binding for NCurses

Resources

Stars

11 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages