tty_term_apply
void tty_term_apply(struct tty_term *, const char *, int);
tty_term_apply(term, *capability, 1);
tty_term_apply(term, s + offset, 0);