Home
last modified time | relevance | path

Searched refs:COLS (Results 1 – 25 of 33) sorted by relevance

12

/openbsd/src/usr.bin/talk/
Dinit_disp.c71 my_win.x_ncols = COLS; in init_display()
77 his_win.x_ncols = COLS; in init_display()
83 line_win = newwin(1, COLS, my_win.x_nlines, 0); in init_display()
85 whline(line_win, '-', COLS); in init_display()
171 (ws.ws_row == LINES && ws.ws_col == COLS)) in resize_display()
182 my_win.x_ncols = COLS; in resize_display()
188 his_win.x_ncols = COLS; in resize_display()
193 wresize(line_win, 1, COLS); in resize_display()
196 whline(line_win, '-', COLS); in resize_display()
Ddisplay.c136 if (win->x_col == COLS-1) { in display()
145 if (win->x_col == COLS-1) /* check for wraparound */ in display()
/openbsd/src/games/worm/
Dworm.c108 if (COLS < 18 || LINES < 5) { in main()
112 growthscale = COLS * LINES / 2000; in main()
116 start_len = strtonum(argv[1], 1, ((LINES-3) * (COLS-2)) / 3, in main()
123 stw = newwin(1, COLS-1, 0, 0); in main()
124 tv = newwin(LINES-1, COLS-1, 1, 0); in main()
197 head->x = start_len % (COLS-5) + 2; in life()
205 if (((bp->x <= 2) && (j == 1)) || ((bp->x >= COLS-4) && (j == -1))) { in life()
242 if (visible_len == (LINES-3) * (COLS-3) - 1) { in newpos()
249 bp->x = rnd(COLS-3) + 1; in newpos()
354 wmove(stw, 0, COLS - 12); in process()
/openbsd/src/games/sail/
Dplayer.h41 #define LINE_X COLS
73 #define SCROLL_R (COLS-1)
92 #define SCREENTEST() (initscr() != NULL && signal(SIGTSTP, SIG_DFL) != SIG_ERR && STAT_R < COLS && …
94 #define SCREENTEST() (initscr() != NULL && STAT_R < COLS && SCROLL_Y > 0)
/openbsd/src/games/hangman/
Dhangman.h51 #define NUMBERX (COLS - 11 - 26)
53 #define AVGX (COLS - 11 - 26)
55 #define GUESSX (COLS - 11 - 26)
Dmain.c71 if (COLS < 50 || LINES < 14) { in main()
95 mvcur(0, COLS - 1, LINES - 1, 0); in die()
Dgetword.c80 mvcur(0, COLS - 1, LINES - 1, 0); in getword()
Dksyms.c81 mvcur(0, COLS - 1, LINES -1, 0); in sym_getword()
/openbsd/src/games/battlestar/
Dfly.c43 #define MIDC (COLS/2 - 1)
87 column = rnd(COLS - 2) + 1; in visual()
191 c = rnd(COLS); in screen()
257 if (column + dc < COLS - 1 && column + dc > 0) in moveenemy()
290 mvcur(0, COLS - 1, LINES - 1, 0); in endfly()
/openbsd/src/games/atc/
Dgraphics.c120 COLS < (PLANE_COLS + 2 * scp->width) || in setup_screen()
121 COLS < 80) { in setup_screen()
126 input = newwin(INPUT_LINES, COLS - PLANE_COLS, LINES - INPUT_LINES, 0); in setup_screen()
128 COLS - PLANE_COLS); in setup_screen()
129 planes = newwin(LINES - INPUT_LINES, PLANE_COLS, 0, COLS - PLANE_COLS); in setup_screen()
/openbsd/src/gnu/llvm/llvm/utils/lit/lit/
DProgressBar.py71 COLS = None #: Width of the terminal (None for unknown) variable in TerminalController
110 self.COLS = curses.tigetnum('cols')
231 if self.term.COLS:
232 self.width = self.term.COLS
/openbsd/src/games/mille/
Dmille.c77 if ((LINES < 24) || (COLS < 80)) { in main()
148 mvcur(0, COLS - 1, LINES - 1, 0); in die()
/openbsd/src/games/robots/
Dmain.c146 if (LINES != Y_SIZE || COLS != X_SIZE) { in main()
147 if (LINES < Y_SIZE || COLS < X_SIZE) { in main()
/openbsd/src/games/cribbage/
Dcribcur.h48 # define MSG_X (COLS - SCORE_X - 1)
/openbsd/src/lib/libcurses/tinfo/
Dsetbuf.c119 buf_len = min(LINES * (COLS + 6), 2800); in NCURSES_EXPORT()
Dlib_setup.c151 NCURSES_PUBLIC_VAR(COLS) (void) in NCURSES_PUBLIC_VAR() argument
170 NCURSES_EXPORT_VAR(int) COLS = 0;
/openbsd/src/games/snake/
Dsnake.c192 if (!ccnt || ccnt > COLS - 3) in main()
193 ccnt = COLS - 3; in main()
633 p.col = COLS / 2 - 8; in spacewarp()
731 if (ps->col == COLS - 1) in surround()
/openbsd/src/games/rain/
Drain.c90 tcols = COLS - 4; in main()
/openbsd/src/games/worms/
Dworms.c238 CO = COLS; in main()
/openbsd/src/usr.bin/lex/
Dscanopt.c127 if (COLS > 0) in get_cols()
128 return COLS; in get_cols()
/openbsd/src/games/gomoku/
Dbdisp.c53 if ((LINES < SCRNH) || (COLS < SCRNW)) { in cursinit()
/openbsd/src/gnu/usr.bin/binutils/gdb/tui/
Dtui.c387 tui_set_term_width_to (COLS); in tui_enable()
/openbsd/src/games/backgammon/common_source/
Dfancy.c316 if ((LINES < 24) || (COLS < 80)) { in initcurses()
/openbsd/src/usr.bin/systat/
Dengine.c1082 columns = COLS; in setup_term()
1115 columns = COLS; in do_resize_term()
/openbsd/src/games/boggle/boggle/
Dmach.c614 ncols = COLS; in tty_setup()

12