summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpbuetow (lap824) <puppet@mx.buetow.org>2012-01-28 14:37:51 +0100
committerpbuetow (lap824) <puppet@mx.buetow.org>2012-01-28 14:37:51 +0100
commit642498bdfa75cdd8aa0e4cd03f50d5ddba6b3f40 (patch)
tree7d0e24d06980d4fe1e8ef764c8fc0cc77dab89fa
parentce9df74e385c57901f53ddf759d5c44b57706ac2 (diff)
fix --maxwidth option
-rwxr-xr-xloadbars2
1 files changed, 2 insertions, 0 deletions
diff --git a/loadbars b/loadbars
index 5575bd9..44b367b 100755
--- a/loadbars
+++ b/loadbars
@@ -636,6 +636,7 @@ sub main_loop ($@) {
? Loadbars::BLUE0 : Loadbars::BLUE );
my ( $y, $space ) = ( 5, $font_height );
+
my @loadavg = split ';', $AVGSTATS{$host};
if ( $C{displaytxt} ) {
@@ -921,6 +922,7 @@ END
menupos => 16,
help => 'Set max width',
mode => 6,
+ type => 'i'
},
quit_hot => { menupos => 16, cmd => 'q', help => 'Quits', mode => 1 },