MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / ttydisc_reprint

Function ttydisc_reprint

components/lwp/terminal/freebsd/tty_ttydisc.c:747–759  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

745}
746
747static void ttydisc_reprint(struct lwp_tty *tp)
748{
749 cc_t c;
750
751 /* Print ^R\n, followed by the line. */
752 c = tp->t_termios.c_cc[VREPRINT];
753 if (c != _POSIX_VDISABLE)
754 ttydisc_echo(tp, c, 0);
755 ttydisc_echo(tp, CNL, 0);
756 ttyinq_reprintpos_reset(&tp->t_inq);
757
758 ttyinq_line_iterate_from_linestart(&tp->t_inq, ttydisc_reprint_char, tp);
759}
760
761struct ttydisc_recalc_length
762{

Callers 2

ttydisc_rubcharFunction · 0.85
ttydisc_rintFunction · 0.85

Calls 3

ttydisc_echoFunction · 0.85
ttyinq_reprintpos_resetFunction · 0.85

Tested by

no test coverage detected