예제 #1
0
파일: termbox.go 프로젝트: wiloe/termbox-go
// Returns the width of the internal back buffer (which is the same as
// terminal's window width in characters).
func Width() int {
	return int(C.tb_width())
}
예제 #2
0
파일: termbox.go 프로젝트: Voker57/termbox
func Width() uint {
	return uint(C.tb_width())
}