resize works in fact :P
[apps/madtty.git] / demo / boxshell.c
index 7c9512d..c8ef22a 100644 (file)
@@ -72,7 +72,7 @@ int main(void)
 
         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,