| 701 | } |
| 702 | |
| 703 | static void |
| 704 | ttydisc_reprint(struct tty *tp) |
| 705 | { |
| 706 | cc_t c; |
| 707 | |
| 708 | /* Print ^R\n, followed by the line. */ |
| 709 | c = tp->t_termios.c_cc[VREPRINT]; |
| 710 | if (c != _POSIX_VDISABLE) |
| 711 | ttydisc_echo(tp, c, 0); |
| 712 | ttydisc_echo(tp, CNL, 0); |
| 713 | ttyinq_reprintpos_reset(&tp->t_inq); |
| 714 | |
| 715 | ttyinq_line_iterate_from_linestart(&tp->t_inq, ttydisc_reprint_char, tp); |
| 716 | } |
| 717 | |
| 718 | struct ttydisc_recalc_length { |
| 719 | struct tty *tp; |
no test coverage detected