Permalink
Browse files

need a TTY to resize it

  • Loading branch information...
1 parent 585b5c9 commit 8a05b24bc37c74681d59db8578d1baee0ea5e3d2 @singpolyma committed Nov 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 st.c
View
@@ -2792,8 +2792,8 @@ main(int argc, char *argv[]) {
run:
setlocale(LC_CTYPE, "");
tnew(80, 24);
- sdlinit();
ttynew();
+ sdlinit(); /* Must have TTY before cresize */
selinit();
run();
return 0;

0 comments on commit 8a05b24

Please sign in to comment.