int ch;
FD_ZERO(&rfds);
+ FD_SET(0, &rfds);
FD_SET(rt->pty, &rfds);
if (select(rt->pty + 1, &rfds, NULL, NULL, &tv) > 0) {
while ((ch = getch()) != ERR) {
#if 0
- if (ch == KEY_F(3)) {
+ if (ch == KEY_F(1)) {
struct winsize ws = {
.ws_row = --rt->rows,
.ws_col = --rt->cols,