Home
last modified time | relevance | path

Searched refs:stdscr (Results 1 – 25 of 46) sorted by relevance

12

/openbsd/distrib/special/more/
H A Dcurses.h146 #define addch(ch) waddch(stdscr, ch)
149 #define clear() wclear(stdscr)
150 #define clrtobot() wclrtobot(stdscr)
151 #define clrtoeol() wclrtoeol(stdscr)
152 #define delch() wdelch(stdscr)
153 #define deleteln() wdeleteln(stdscr)
154 #define erase() werase(stdscr)
155 #define getch() wgetch(stdscr)
156 #define getstr(s) wgetstr(stdscr, s)
157 #define inch() winch(stdscr)
[all …]
/openbsd/lib/libcurses/
H A Dcurses.h1280 #define bkgd(ch) wbkgd(stdscr,(ch))
1283 #define clear() wclear(stdscr)
1287 #define delch() wdelch(stdscr)
1290 #define erase() werase(stdscr)
1291 #define getch() wgetch(stdscr)
1293 #define inch() winch(stdscr)
1297 #define insch(c) winsch(stdscr,(c))
1302 #define instr(s) winstr(stdscr,(s))
1304 #define refresh() wrefresh(stdscr)
1305 #define scrl(n) wscrl(stdscr,(n))
[all …]
/openbsd/games/robots/
H A Dmove.c119 leaveok(stdscr, TRUE); in get_move()
170 leaveok(stdscr, TRUE); in get_move()
181 leaveok(stdscr, TRUE); in get_move()
183 flushok(stdscr, FALSE); in get_move()
193 leaveok(stdscr, FALSE); in get_move()
224 leaveok(stdscr, FALSE); in get_move()
276 leaveok(stdscr, FALSE); in do_move()
326 leaveok(stdscr, FALSE); in reset_count()
H A Dmain.c151 delwin(stdscr); in main()
152 stdscr = newwin(Y_SIZE, X_SIZE, 0, 0); in main()
H A Dquery.c45 getyx(stdscr, y, x); in query()
/openbsd/games/hunt/hunt/
H A Ddisplay.c65 getyx(stdscr, *yp, *xp); in display_getyx()
81 c = mvwinch(stdscr, y, x) & 0x7f; in display_atyx()
89 clearok(stdscr, TRUE); in display_redraw_screen()
90 touchwin(stdscr); in display_redraw_screen()
/openbsd/games/phantasia/
H A Dio.c64 getyx(stdscr, y, x); /* get coordinates on screen */ in getstring()
85 clearok(stdscr, TRUE); in getstring()
255 getyx(stdscr, y, x); /* save cursor location */ in interrupt()
323 getyx(stdscr, oldy, oldx); in getanswer()
360 clearok(stdscr, TRUE); /* force clear screen */ in getanswer()
/openbsd/games/boggle/boggle/
H A Dmach.c151 getyx(stdscr, row, col); in results()
169 wclrtoeol(stdscr); in results()
214 getyx(stdscr, row, col); in get_line()
223 getyx(stdscr, row, col); in get_line()
295 clearok(stdscr, 1); in redraw()
464 getyx(stdscr, r, c); in findword()
548 getyx(stdscr, row, col); in getword()
556 getyx(stdscr, row, col); in getword()
568 clearok(stdscr, 1); in getword()
647 clearok(stdscr, 1); in cont_catcher()
H A Dprtable.c105 getyx(stdscr, row, col); in prtable()
116 wclrtoeol(stdscr); in prtable()
120 wclrtobot(stdscr); in prtable()
H A Dhelp.c92 clearok(stdscr, TRUE); in help()
93 touchwin(stdscr); in help()
/openbsd/games/backgammon/common_source/
H A Dtable.c80 getyx(stdscr, curr, curc); in checkmove()
98 getyx(stdscr, curr, curc); in checkmove()
108 getyx(stdscr, curr, curc); in checkmove()
113 getyx(stdscr, curr, curc); in checkmove()
H A Dsubs.c90 getyx(stdscr, r, c); in gwrite()
291 getyx(stdscr, row, col); in roll()
H A Dfancy.c168 getyx(stdscr, rpos, cpos); in bsect()
179 getyx(stdscr, r, c); in moveplayers()
312 keypad(stdscr, TRUE); in initcurses()
/openbsd/usr.bin/vi/cl/
H A Dcl_funcs.c50 getyx(stdscr, oldy, oldx); in cl_addstr()
250 getyx(stdscr, *yp, *xp); in cl_cursor()
285 getyx(stdscr, oldy, oldx); in cl_deleteln()
548 getyx(stdscr, oldy, oldx); in cl_suspend()
559 (void)keypad(stdscr, FALSE); in cl_suspend()
594 (void)keypad(stdscr, TRUE); in cl_suspend()
H A Dcl_screen.c274 idlok(stdscr, 1); /* Use hardware insert/delete line. */ in cl_vi_init()
277 (void)keypad(stdscr, TRUE); in cl_vi_init()
375 (void)keypad(stdscr, FALSE); in cl_vi_end()
/openbsd/games/hangman/
H A Dendgame.c60 leaveok(stdscr, FALSE); in endgame()
69 leaveok(stdscr, TRUE); in endgame()
H A Dgetguess.c51 leaveok(stdscr, FALSE); in getguess()
84 leaveok(stdscr, TRUE); in getguess()
/openbsd/games/cribbage/
H A Dcrib.c73 Playwin = subwin(stdscr, PLAY_Y, PLAY_X, 0, 0); in main()
74 Tablewin = subwin(stdscr, TABLE_Y, TABLE_X, 0, PLAY_X); in main()
75 Compwin = subwin(stdscr, COMP_Y, COMP_X, 0, TABLE_X + PLAY_X); in main()
76 Msgwin = subwin(stdscr, MSG_Y, MSG_X, Y_MSG_START, SCORE_X + 1); in main()
81 clearok(stdscr, FALSE); in main()
418 prcard(stdscr, CRIB_Y + 1, cardx, turnover, blank); in prcrib()
/openbsd/lib/libcurses/base/
H A Dlib_scanw.c87 code = vw_scanw(stdscr, fmt, ap); in scanw()
113 code = (move(y, x) == OK) ? vw_scanw(stdscr, fmt, ap) : ERR; in mvscanw()
H A Dlib_newwin.c72 } else if (window_is(stdscr)) { in remove_window_from_screen()
73 remove_window(stdscr); in remove_window_from_screen()
83 } else if (window_is(stdscr)) { in remove_window_from_screen()
84 remove_window(stdscr); in remove_window_from_screen()
H A Dlib_printw.c62 code = vw_printw(stdscr, fmt, argp); in NCURSES_EXPORT()
106 code = vw_printw(stdscr, fmt, argp); in mvprintw()
/openbsd/games/mille/
H A Dmille.c82 delwin(stdscr); in main()
83 stdscr = Board = newwin(BOARD_Y, BOARD_X, 0, 0); in main()
H A Dprint.c115 stdscr = Score; in prscore()
147 stdscr = Board; in prscore()
/openbsd/games/backgammon/teachgammon/
H A Dtutor.c82 getyx(stdscr, j, k); in tutor()
140 getyx(stdscr, r, c); in clrest()
/openbsd/lib/libcurses/tinfo/
H A Dlib_data.c56 NCURSES_PUBLIC_VAR(stdscr) (void) in NCURSES_EXPORT()
71 NCURSES_EXPORT_VAR(WINDOW *) stdscr = 0;

12