Fix terminal normal font size

[no-build]
This commit is contained in:
Ilia Ross
2025-11-23 15:30:53 +02:00
parent c3a2396986
commit d29e5aea99
3 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
xterm=xterm-256color xterm=xterm-256color
fontsize=15 fontsize=14
base_port=555 base_port=555
rcfile=0 rcfile=0
locale=0 locale=0

View File

@ -1,6 +1,6 @@
xterm=Set <tt>TERM</tt> environmental variable to,4,xterm+256color-xterm&#45;256color,xterm+16color-xterm&#45;16color,xterm-xterm,vt102-vt102,vt100-vt100,vt52-vt52,rxvt-rxvt,nsterm-nsterm,dtterm-dtterm,ansi-ansi xterm=Set <tt>TERM</tt> environmental variable to,4,xterm+256color-xterm&#45;256color,xterm+16color-xterm&#45;16color,xterm-xterm,vt102-vt102,vt100-vt100,vt52-vt52,rxvt-rxvt,nsterm-nsterm,dtterm-dtterm,ansi-ansi
size=Terminal width and height in characters,3,Automatic,5,,,Static (80x24) size=Terminal width and height in characters,3,Automatic,5,,,Static (80x24)
fontsize=Adjust font size,4,0-Auto,12-Small,15-Normal,18-Large,21-Huge fontsize=Adjust font size,4,0-Auto,12-Small,14-Normal,16-Large,18-Huge
locale=Set shell character encoding,10,0-Shell default,1-<tt>en_US.UTF&#45;8</tt>,Custom locale=Set shell character encoding,10,0-Shell default,1-<tt>en_US.UTF&#45;8</tt>,Custom
rcfile=Execute initialization commands from file,10,0-Shell default,1-Module default,Custom rcfile=Execute initialization commands from file,10,0-Shell default,1-Module default,Custom
screen_reader=Enable screen reader mode,1,true-Yes,false-No screen_reader=Enable screen reader mode,1,true-Yes,false-No

View File

@ -55,7 +55,7 @@ my $def_cols_n = 80;
my $def_rows_n = 24; my $def_rows_n = 24;
my $xmlhr = $ENV{'HTTP_X_REQUESTED_WITH'} eq "XMLHttpRequest"; my $xmlhr = $ENV{'HTTP_X_REQUESTED_WITH'} eq "XMLHttpRequest";
my %term_opts; my %term_opts;
my $font_size = $config{'fontsize'} || 15; my $font_size = $config{'fontsize'} || 14;
# Parse module config # Parse module config
my ($conf_cols_n, $conf_rows_n) = ($conf_size_str =~ /([\d]+)X([\d]+)/i); my ($conf_cols_n, $conf_rows_n) = ($conf_size_str =~ /([\d]+)X([\d]+)/i);