Skip to content

Commit 410f5cf

Browse files
committed
VT : Windows builds now check for window resizes
1 parent ace6fc1 commit 410f5cf

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

vt/pdckbd.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ emulation is in place.
5959
https://www.gnu.org/software/screen/manual/html_node/Control-Sequences.html
6060
*/
6161

62+
void PDC_check_for_resize( void);
63+
6264
extern bool PDC_resize_occurred;
6365

6466
static bool check_key( int *c)
@@ -100,6 +102,11 @@ static bool check_key( int *c)
100102
else
101103
rval = FALSE;
102104
#else
105+
#ifdef _WIN32
106+
PDC_check_for_resize( );
107+
if( PDC_resize_occurred)
108+
return( TRUE);
109+
#endif
103110
if( WINDOWS_VERSION_OF_KBHIT( ))
104111
{
105112
rval = TRUE;

0 commit comments

Comments
 (0)