Lines Matching refs:col
63 static void print_color(const VTermColor *col) in print_color() argument
65 if (VTERM_COLOR_IS_RGB(col)) { in print_color()
66 printf("rgb(%d,%d,%d", col->red, col->green, col->blue); in print_color()
68 else if (VTERM_COLOR_IS_INDEXED(col)) { in print_color()
69 printf("idx(%d", col->index); in print_color()
72 printf("invalid(%d", col->type); in print_color()
74 if (VTERM_COLOR_IS_DEFAULT_FG(col)) { in print_color()
77 if (VTERM_COLOR_IS_DEFAULT_BG(col)) { in print_color()
245 printf("movecursor %d,%d\n", pos.row, pos.col); in movecursor()
320 printf(" %d %d,%d", info->width, pos.row, pos.col); in state_putglyph()
430 int col; in screen_damage() local
438 pos.col = eol-1; in screen_damage()
453 for(col = rect.start_col; col < eol; col++) { in screen_damage()
457 pos.col = col; in screen_damage()
459 printf(col == rect.start_col ? "%02X" : " %02X", cell.chars[0]); in screen_damage()
493 int col; in screen_sb_popline() local
499 for(col = 0; col < cols; col++) { in screen_sb_popline()
500 if(col < 5) in screen_sb_popline()
501 cells[col].chars[0] = 'A' + col; in screen_sb_popline()
503 cells[col].chars[0] = 0; in screen_sb_popline()
505 cells[col].width = 1; in screen_sb_popline()
744 int row, col, len; in main() local
748 sscanf(linep, "%d,%d%n", &row, &col, &len); in main()
753 vterm_mouse_move(vt, row, col, mod); in main()
795 pos.row, pos.col, state_pos.row, state_pos.col); in main()
796 else if(pos.col != state_pos.col) in main()
798 pos.row, pos.col, state_pos.row, state_pos.col); in main()
800 printf("%d,%d\n", state_pos.row, state_pos.col); in main()
959 if(sscanf(linep, "%d,%d\n", &pos.row, &pos.col) < 2) { in main()
992 if(sscanf(linep, "%d,%d\n", &pos.row, &pos.col) < 2) { in main()
1004 if(sscanf(linep, "%d,%d\n", &pos.row, &pos.col) < 2) { in main()