summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 125647e)
raw | patch | inline | side by side (parent: 125647e)
author | Avuton Olrich <avuton@gmail.com> | |
Sun, 30 Oct 2011 01:21:44 +0000 (18:21 -0700) | ||
committer | Avuton Olrich <avuton@gmail.com> | |
Thu, 3 Nov 2011 02:33:50 +0000 (19:33 -0700) |
src/screen.c | patch | blob | history |
diff --git a/src/screen.c b/src/screen.c
index 4d897581e5ea86138155dfe96eca7d175f329bc7..2d8ab6a955782c69ce62d8dc4c048b9b40213a39 100644 (file)
--- a/src/screen.c
+++ b/src/screen.c
fprintf(stderr, "%s", _("Error: Screen too small"));
exit(EXIT_FAILURE);
}
-
+#ifdef PDCURSES
+ resize_term(LINES, COLS);
+#else
resizeterm(LINES, COLS);
+#endif
screen.cols = COLS;
screen.rows = LINES;