| 130 | } |
| 131 | |
| 132 | void restore_term(void) |
| 133 | { |
| 134 | if (term_fd < 0) |
| 135 | return; |
| 136 | |
| 137 | tcsetattr(term_fd, TCSAFLUSH, &old_term); |
| 138 | close_term_fd(); |
| 139 | sigchain_pop_common(); |
| 140 | reset_job_signals(); |
| 141 | } |
| 142 | |
| 143 | int save_term(enum save_term_flags flags) |
| 144 | { |
no test coverage detected