Insure virtual screen dimensions support maximum zoom out with mintty on 180p

This commit is contained in:
Renaud 2017-06-01 15:31:39 +08:00
parent b6c89d6eca
commit 1ff2491d88
2 changed files with 12 additions and 2 deletions

10
screensize.cmd Normal file
View File

@ -0,0 +1,10 @@
# Visualize Screen Dimensions
insert-string &cat $curwidth &cat "x" $pagelen
insert-string &rig "---------+" &sub 10 $curcol
&sub &div $curwidth 10 1 insert-string "---------+"
insert-string &lef "1234567890" &mod $curwidth 10
end-of-file
&sub $pagelen 3 execute-command-line "insert-string &cat $curline ~n"
beginning-of-file
unmark-buffer
write-message $line

4
tcap.c
View File

@ -88,8 +88,8 @@ static char *CS, *DL, *AL, *SF, *SR;
#endif
struct terminal term = {
210, /* actual 204 on 1920x1080 landscape terminal window */
500, /* actual 475 */
270, /* actual 269 on 1920x1080 landscape terminal window */
1910, /* actual 1901 */
0, /* These four values are set dynamically at open time. */
0,
0,