func StartScreen() { curses.Initscr() curses.Cbreak() curses.Noecho() curses.Nonl() curses.Stdwin.Keypad(true) }
func initscreen(s *Dvi) { curses.Initscr() curses.Cbreak() curses.Noecho() curses.Nonl() curses.Start_color() curses.Stdwin.Keypad(true) s.w = curses.Stdwin curses.Init_pair(1, curses.COLOR_WHITE, curses.COLOR_BLUE) curses.Init_pair(2, curses.COLOR_RED, curses.COLOR_WHITE) curses.Init_pair(3, curses.COLOR_BLACK, curses.COLOR_YELLOW) }