Searched refs:screen_size_x (Results 1 – 12 of 12) sorted by relevance
/openbsd/usr.bin/tmux/ |
H A D | screen-write.c | 99 cx = screen_size_x(s) - 1; in screen_write_set_cursor() 180 ttyctx->sx = screen_size_x(s); in screen_write_initctx() 841 if (nx > screen_size_x(src)) in screen_write_preview() 916 if (cx == screen_size_x(s)) in screen_write_cursorup() 943 if (cx == screen_size_x(s)) in screen_write_cursordown() 1007 cx = screen_size_x(s) - 1; in screen_write_backspace() 1054 nx = screen_size_x(s) - s->cx; in screen_write_insertcharacter() 1082 nx = screen_size_x(s) - s->cx; in screen_write_deletecharacter() 1322 px = screen_size_x(s) - 1; in screen_write_cursormove() 1495 u_int sx = screen_size_x(s); in screen_write_clearstartofscreen() [all …]
|
H A D | window-clock.c | 169 screen_init(s, screen_size_x(&wp->base), screen_size_y(&wp->base), 0); in window_clock_init() 237 if (screen_size_x(s) < 6 * strlen(tim) || screen_size_y(s) < 6) { in window_clock_draw_screen() 238 if (screen_size_x(s) >= strlen(tim) && screen_size_y(s) != 0) { in window_clock_draw_screen() 239 x = (screen_size_x(s) / 2) - (strlen(tim) / 2); in window_clock_draw_screen() 253 x = (screen_size_x(s) / 2) - 3 * strlen(tim); in window_clock_draw_screen()
|
H A D | screen.c | 167 if ((s->tabs = bit_alloc(screen_size_x(s))) == NULL) in screen_reset_tabs() 169 for (i = 8; i < screen_size_x(s); i += 8) in screen_reset_tabs() 297 __func__, sx, sy, screen_size_x(s), screen_size_y(s), s->cx, s->cy, in screen_resize_cursor() 305 if (sx != screen_size_x(s)) { in screen_resize_cursor() 617 sx = screen_size_x(s); in screen_alternate_on() 638 u_int sx = screen_size_x(s), sy = screen_size_y(s); in screen_alternate_off() 660 if (s->cx > screen_size_x(s) - 1) in screen_alternate_off() 661 s->cx = screen_size_x(s) - 1; in screen_alternate_off() 682 if (s->cx > screen_size_x(s) - 1) in screen_alternate_off() 683 s->cx = screen_size_x(s) - 1; in screen_alternate_off()
|
H A D | window-copy.c | 359 screen_size_x(src), sy, screen_size_x(hint), in window_copy_clone_screen() 384 reflow = (screen_size_x(hint) != screen_size_x(dst)); in window_copy_clone_screen() 485 u_int sx = screen_size_x(base); in window_copy_view_init() 3638 *fx = screen_size_x(s) - 1; in window_copy_move_left() 3643 *fx = screen_size_x(s) - 1; in window_copy_move_left() 4060 width = screen_size_x(ssp); in window_copy_search_marks() 4388 u_int sx = screen_size_x(s); in window_copy_write_line() 4588 if (old_cx == screen_size_x(s)) in window_copy_update_cursor() 4590 if (data->cx == screen_size_x(s)) in window_copy_update_cursor() 4636 sx = screen_size_x(s) - 1; in window_copy_adjust_selection() [all …]
|
H A D | cmd-capture-pane.c | 119 sx = screen_size_x(&wp->base); in cmd_capture_pane_history()
|
H A D | server-fn.c | 317 u_int sx = screen_size_x(&wp->base); in server_destroy_pane()
|
H A D | spawn.c | 353 ws.ws_col = screen_size_x(&new_wp->base); in spawn_pane()
|
H A D | mode-tree.c | 459 screen_init(*s, screen_size_x(&wp->base), screen_size_y(&wp->base), 0); in mode_tree_start() 537 mtd->width = screen_size_x(s); in mode_tree_build()
|
H A D | window.c | 1301 line = grid_view_string_cells(s->grid, 0, i, screen_size_x(s)); in window_pane_search()
|
H A D | status.c | 415 if (screen_size_x(&sl->screen) != width || in status_redraw()
|
H A D | tmux.h | 1008 #define screen_size_x(s) ((s)->grid->sx) macro
|
H A D | tty.c | 1467 sx = screen_size_x(s); in tty_draw_line()
|