windows: use default geometry if we can't look it up #2020

pull/2056/head
nick black 3 years ago
parent 0c0a8157e6
commit 3d780e14a3
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -279,6 +279,13 @@ int update_term_dimensions(int* rows, int* cols, tinfo* tcache, int margin_b){
tcache->pixel_draw = NULL; // disable support
}
}
#else
if(rows){
*rows = tcache->default_rows;
}
if(cols){
*cols = tcache->default_cols;
}
#endif
if(tcache->sixel_maxy_pristine){
int sixelrows = *rows - 1;

Loading…
Cancel
Save