tty_end(): * Restore the tty to its original settings */
| 577 | * Restore the tty to its original settings |
| 578 | */ |
| 579 | protected void |
| 580 | /*ARGSUSED*/ |
| 581 | tty_end(EditLine *el) |
| 582 | { |
| 583 | if (tty_setty(el, TCSAFLUSH, &el->el_tty.t_or) == -1) { |
| 584 | #ifdef DEBUG_TTY |
| 585 | (void) fprintf(el->el_errfile, |
| 586 | "%s: tty_setty: %s\n", __func__, strerror(errno)); |
| 587 | #endif /* DEBUG_TTY */ |
| 588 | } |
| 589 | } |
| 590 | |
| 591 | |
| 592 | /* tty__getspeed(): |