When term is resized when watching, should replay from the last screen clear.
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@517 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
parent
9bed813458
commit
de5177592c
|
@ -251,8 +251,10 @@ ttypread (FILE * fp, Header * h, char **buf, int pread)
|
|||
return READ_EOF;
|
||||
break;
|
||||
case 'r':
|
||||
if (term_resizex > 0 && term_resizey > 0)
|
||||
if (term_resizex > 0 && term_resizey > 0) {
|
||||
printf ("\033[8;%d;%dt", term_resizey, term_resizex);
|
||||
return READ_RESTART;
|
||||
}
|
||||
break;
|
||||
case 's':
|
||||
switch (stripped)
|
||||
|
|
Loading…
Reference in New Issue