/openbsd/distrib/special/more/ |
H A D | curses.h | 146 #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 D | curses.h | 1280 #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 D | move.c | 119 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 D | main.c | 151 delwin(stdscr); in main() 152 stdscr = newwin(Y_SIZE, X_SIZE, 0, 0); in main()
|
H A D | query.c | 45 getyx(stdscr, y, x); in query()
|
/openbsd/games/hunt/hunt/ |
H A D | display.c | 65 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 D | io.c | 64 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 D | mach.c | 151 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 D | prtable.c | 105 getyx(stdscr, row, col); in prtable() 116 wclrtoeol(stdscr); in prtable() 120 wclrtobot(stdscr); in prtable()
|
H A D | help.c | 92 clearok(stdscr, TRUE); in help() 93 touchwin(stdscr); in help()
|
/openbsd/games/backgammon/common_source/ |
H A D | table.c | 80 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 D | subs.c | 90 getyx(stdscr, r, c); in gwrite() 291 getyx(stdscr, row, col); in roll()
|
H A D | fancy.c | 168 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 D | cl_funcs.c | 50 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 D | cl_screen.c | 274 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 D | endgame.c | 60 leaveok(stdscr, FALSE); in endgame() 69 leaveok(stdscr, TRUE); in endgame()
|
H A D | getguess.c | 51 leaveok(stdscr, FALSE); in getguess() 84 leaveok(stdscr, TRUE); in getguess()
|
/openbsd/games/cribbage/ |
H A D | crib.c | 73 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 D | lib_scanw.c | 87 code = vw_scanw(stdscr, fmt, ap); in scanw() 113 code = (move(y, x) == OK) ? vw_scanw(stdscr, fmt, ap) : ERR; in mvscanw()
|
H A D | lib_newwin.c | 72 } 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 D | lib_printw.c | 62 code = vw_printw(stdscr, fmt, argp); in NCURSES_EXPORT() 106 code = vw_printw(stdscr, fmt, argp); in mvprintw()
|
/openbsd/games/mille/ |
H A D | mille.c | 82 delwin(stdscr); in main() 83 stdscr = Board = newwin(BOARD_Y, BOARD_X, 0, 0); in main()
|
H A D | print.c | 115 stdscr = Score; in prscore() 147 stdscr = Board; in prscore()
|
/openbsd/games/backgammon/teachgammon/ |
H A D | tutor.c | 82 getyx(stdscr, j, k); in tutor() 140 getyx(stdscr, r, c); in clrest()
|
/openbsd/lib/libcurses/tinfo/ |
H A D | lib_data.c | 56 NCURSES_PUBLIC_VAR(stdscr) (void) in NCURSES_EXPORT() 71 NCURSES_EXPORT_VAR(WINDOW *) stdscr = 0;
|