Lines Matching refs:cur_tty
820 struct tty *cur_tty;
848 cur_tty = SC_DEV(sc, sc->cur_scp->index);
849 if (!tty_opened_ns(cur_tty))
852 if ((*sc->cur_scp->tsw->te_input)(sc->cur_scp, c, cur_tty))
857 ttydisc_rint(cur_tty, KEYCHAR(c), 0);
862 ttydisc_rint_simple(cur_tty, cp, strlen(cp));
867 ttydisc_rint_simple(cur_tty, cp, len);
870 ttydisc_rint(cur_tty, 0x1b, 0);
871 ttydisc_rint(cur_tty, KEYCHAR(c), 0);
874 ttydisc_rint_simple(cur_tty, "\x1B[Z", 3);
878 ttydisc_rint_done(cur_tty);