| 214 | } |
| 215 | |
| 216 | static void |
| 217 | terminal_sync_ttysize(struct terminal *tm) |
| 218 | { |
| 219 | struct tty *tp; |
| 220 | |
| 221 | tp = tm->tm_tty; |
| 222 | if (tp == NULL) |
| 223 | return; |
| 224 | |
| 225 | tty_lock(tp); |
| 226 | tty_set_winsize(tp, &tm->tm_winsize); |
| 227 | tty_unlock(tp); |
| 228 | } |
| 229 | |
| 230 | void |
| 231 | terminal_maketty(struct terminal *tm, const char *fmt, ...) |
no test coverage detected