mirror of
https://github.com/webmin/webmin.git
synced 2026-01-14 03:11:35 +00:00
Fix terminal normal font size
[no-build]
This commit is contained in:
@ -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
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
xterm=Set <tt>TERM</tt> environmental variable to,4,xterm+256color-xterm-256color,xterm+16color-xterm-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-256color,xterm+16color-xterm-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-8</tt>,Custom
|
locale=Set shell character encoding,10,0-Shell default,1-<tt>en_US.UTF-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
|
||||||
|
|||||||
@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user