Example #1
0
// MoveGetChar moves the cursor to the given position and gets a character
// from the input stream
func (w *Window) MoveGetChar(y, x int) Key {
	return Key(C.mvwgetch(w.win, C.int(y), C.int(x)))
}
Example #2
0
func (win *Window) MvGetch(x, y int) int {
	return int(C.mvwgetch((*C.WINDOW)(win), C.int(y), C.int(x)))
}