line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Term::Size::Perl::Params; |
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
# created Mon Apr 30 17:40:54 2018 |
5
|
|
|
|
|
|
|
|
6
|
2
|
|
|
2
|
|
13
|
use vars qw($VERSION); |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
225
|
|
7
|
|
|
|
|
|
|
$VERSION = '0.030_0'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
sub params { |
10
|
|
|
|
|
|
|
return ( |
11
|
2
|
|
|
2
|
1
|
12
|
winsize => { |
12
|
|
|
|
|
|
|
sizeof => 8, |
13
|
|
|
|
|
|
|
mask => 'S!S!S!S!' |
14
|
|
|
|
|
|
|
}, |
15
|
|
|
|
|
|
|
TIOCGWINSZ => { |
16
|
|
|
|
|
|
|
value => 21523, |
17
|
|
|
|
|
|
|
definition => qq{0x5413} |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
); |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
1; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=pod |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 NAME |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
Term::Size::Perl::Params - Configuration for Term::Size::Perl |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 SYNOPSIS |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
use Term::Size::Perl::Params (); |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
%params = Term::Size::Perl::Params::params(); |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 DESCRIPTION |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
The configuration parameters C needs to |
39
|
|
|
|
|
|
|
know for retrieving the terminal size with C. |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 FUNCTIONS |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head2 params |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
The configuration parameters C needs to |
46
|
|
|
|
|
|
|
know for retrieving the terminal size with C. |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=cut |