tncardoso/curses.go — pull request #2 by lye (2011-10-16 23:51:22+00:00)
Title: Add bindings for *addch functions

The *addch family of functions provide functionality to write a single chtype to the screen. This is necessary to draw non-UTF8 data (e.g., boxes), since non-UTF8 data doesn't play nicely with fmt (which all strings passed to *addstr functions are passed through).

This patchset adds the following bindings:

* curses.Addch
* curses.Mvaddch
* curses.Window.Addch
* curses.Window.Mvaddch

Also there's a patch in here that fixes the KEY_* constants; forgot to pull that out before submitting the pull request :\

I have another patchset which exposes the ACS_* ncurses macros for weird characters (e.g. extended ASCII stuff for drawing boxes) but uhh, want to put that in a separate pull request because my implementation of it is really gross :(