keyboard: fix empty key titles
[sheet.git] / less.plp
index 8d88a91b99a7fdfcc3ead469abddb5576fbbd386..582eef4674cf0194d5982df5ffe198c03d57d319 100644 (file)
--- a/less.plp
+++ b/less.plp
@@ -2,7 +2,7 @@
 
 Html({
        title => 'less cheat sheet',
-       version => 'v1.1',
+       version => '1.1',
        description => [
                "Default bindings of the less pager.",
                "Clearly shows how much it's more than more.",
@@ -11,7 +11,7 @@ Html({
                less sheet cheat keys pager more
                shortkey reference keyboard commands options overview
        '],
-       stylesheet => [qw'light dark circus mono red terse'],
+       stylesheet => [qw( light dark circus mono red )],
        keys => 1,
 });
 
@@ -23,7 +23,6 @@ Html({
 <:
 use Shiar_Sheet::Keyboard 2;
 my $info = do 'less.eng.inc.pl' or die $@;
-$info->{def} = do 'less.inc.pl';
 my $keys = Shiar_Sheet::Keyboard->new($info);
 $keys->map($get{map}) or undef $get{map};
 $keys->print_rows($get{rows}, [1,0]);
@@ -33,7 +32,7 @@ $keys->print_rows($get{rows}, [1,0]);
 
 <div class="help">
        <div class="left">
-<: $keys->print_legend('legend-types', [qw( ci pm po co mo mv )]) :>
+<: $keys->print_legend('legend-types', ['g1' .. 'g4', 'g7', 'g8']) :>
        </div>
 
        <div class="right">