Lines Matching +defs:a +defs:code

427 	 * with a dead tty.
543 tty_putcode(struct tty *tty, enum tty_code_code code)
545 tty_puts(tty, tty_term_string(tty->term, code));
549 tty_putcode_i(struct tty *tty, enum tty_code_code code, int a)
551 if (a < 0)
553 tty_puts(tty, tty_term_string_i(tty->term, code, a));
557 tty_putcode_ii(struct tty *tty, enum tty_code_code code, int a, int b)
559 if (a < 0 || b < 0)
561 tty_puts(tty, tty_term_string_ii(tty->term, code, a, b));
565 tty_putcode_iii(struct tty *tty, enum tty_code_code code, int a, int b, int c)
567 if (a < 0 || b < 0 || c < 0)
569 tty_puts(tty, tty_term_string_iii(tty->term, code, a, b, c));
573 tty_putcode_s(struct tty *tty, enum tty_code_code code, const char *a)
575 if (a != NULL)
576 tty_puts(tty, tty_term_string_s(tty->term, code, a));
580 tty_putcode_ss(struct tty *tty, enum tty_code_code code, const char *a,
583 if (a != NULL && b != NULL)
584 tty_puts(tty, tty_term_string_ss(tty->term, code, a, b));
642 * we think it should be after a line wrap - this means
866 tty_emulate_repeat(struct tty *tty, enum tty_code_code code,
869 if (tty_term_has(tty->term, code))
870 tty_putcode_i(tty, code, n);
979 /* Update stored offsets for a window and redraw if necessary. */
993 /* Update stored offsets for a client and redraw if necessary. */
1048 * CSR not supported, or window is a pane that doesn't take up the full
1058 * If region is large, schedule a redraw. In most cases this is likely
1125 /* Clear a line. */
1177 /* Clear a line, adjusting to visible part of pane. */
1325 /* Clear an area in a pane. */
1367 /* UTF-8 terminal and a UTF-8 character - fine. */
1389 * Check if a single character is obstructed by the overlay and return a
1398 * A unit width range will always return nx[2] == 0 from a check, even
1886 * If we want to wrap a pane while using margins, the cursor needs to
2195 * This is an overlay and a command that moves the cursor so
2201 * This is a pane. If there is an overlay, always start;
2222 /* If this is a padding character, do nothing. */
2230 /* If it is a single character, write with putc to handle ACS. */
2315 * flag so further output causes a line feed). As a workaround, do an
2585 * If no setab, try to use the reverse attribute as a best-effort for a
2586 * non-default background. This is a bit of a hack but it doesn't do
2587 * any serious harm and makes a couple of applications happier.
2723 * Perform substitution if this pane has a palette. If the bright
2737 /* Is this a 24-bit colour? */
2739 /* Not a 24-bit terminal? Translate to 256-colour palette. */
2752 /* Is this a 256-colour colour? */
2754 /* And not a 256 colour mode? */
2783 /* Perform substitution if this pane has a palette. */
2789 /* Is this a 24-bit colour? */
2791 /* Not a 24-bit terminal? Translate to 256-colour palette. */
2804 /* Is this a 256-colour colour? */
2807 * And not a 256 colour mode? Translate to 16-colour
2833 /* Perform substitution if this pane has a palette. */
2863 /* Is this a 24-bit or 256-colour colour? */
2895 /* Is this a 24-bit or 256-colour colour? */