Lines Matching refs:chars
20 static void putglyph(VTermState *state, const uint32_t chars[], int width, VTermPos pos)
23 .chars = chars,
34 fprintf(stderr, "libvterm: Unhandled putglyph U+%04x at (%d,%d)\n", chars[0], pos.col, pos.row);
234 printf("DEBUG: COMBINING SPLIT GLYPH of chars {");
240 /* Find where we need to append these combining chars */
273 uint32_t* chars;
279 chars = alloca(glyph_ends - glyph_starts + 1);
282 chars[i - glyph_starts] = codepoints[i];
286 chars[glyph_ends - glyph_starts] = 0;
292 printf("DEBUG: COMBINED GLYPH of %d chars {", glyph_ends - glyph_starts);
294 printf("U+%04x ", chars[printpos]);
319 putglyph(state, chars, width, state->pos);
322 /* End of the buffer. Save the chars in case we have to combine with
325 for(save_i = 0; chars[save_i]; save_i++) {
328 state->combine_chars[save_i] = chars[save_i];