keys: indent key definition includes
[sheet.git] / mutt.plp
index 62c2fc11451dc0a1ae04149a44d3fb67dbffeb66..3ab95a030eabdaf75811f0f624db2669575a8ad0 100644 (file)
--- a/mutt.plp
+++ b/mutt.plp
@@ -2,7 +2,7 @@
 
 Html({
        title => 'mutt cheat sheet',
-       version => 'v1.1',
+       version => '1.2',
        description => [
                "Cheat sheet for the Mutt e-mail client,",
                "showing the default binding for each key.",
@@ -10,8 +10,7 @@ Html({
        keywords => [qw'
                mutt MUA email client sheet cheat reference overview commands keyboard
        '],
-       charset => $sign{charset},
-       stylesheet => [qw'light dark circus mono red terse'],
+       stylesheet => [qw( light dark circus mono red )],
        keys => 1,
 });
 
@@ -23,7 +22,6 @@ Html({
 <:
 use Shiar_Sheet::Keyboard 2;
 my $info = do 'mutt.eng.inc.pl' or die $@;
-$info->{def} = do 'mutt.inc.pl';
 my $keys = Shiar_Sheet::Keyboard->new($info);
 $keys->map($get{map}) or undef $get{map};
 $keys->print_rows($get{rows});
@@ -33,7 +31,7 @@ $keys->print_rows($get{rows});
 
 <div class="help">
        <div class="left">
-<: $keys->print_legend('legend-types', [qw( ci pm po co mi mo mv me )]) :>
+<: $keys->print_legend('legend-types', ['g1' .. 'g4', 'g6' .. 'g9']) :>
        </div>
 
        <div class="right">
@@ -42,9 +40,6 @@ $keys->print_rows($get{rows});
                <ul class="legend legend-set">
                <li>keyboard <strong>map</strong> is
                        <:= $get{map} ? 'set to ' : '' :><em><:= $keys->{map} :></em>
-               <li><strong>ascii</strong> mode is
-                       <:= defined $sign{-ascii} && 'forced ' :><em><:=
-                               $sign{-ascii} ? 'on' : 'off' :></em>
                <li><strong>keys</strong> are
                        <em><:= $showkeys ? 'always shown' : 'hidden if unassigned' :></em><:=
                                !exists $get{keys} && ' by default' :>