X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/fc0efae244f2c4bf8063f5962138c2469dc44e6e..32a6cc3086f1c4ff99aadd88c976fe854a3fd826:/screen.plp diff --git a/screen.plp b/screen.plp index 0e188c1..6f88b0a 100644 --- a/screen.plp +++ b/screen.plp @@ -2,7 +2,7 @@ Html({ title => 'screen cheat sheet', - version => 'v1.0', + version => '1.1', description => [ "Interactive cheat sheet for the Screen terminal manager,", "describing the function of each key.", @@ -11,7 +11,7 @@ Html({ screen sheet cheat reference overview commands keyboard terminal window manager '], - stylesheet => [qw'light dark circus mono red terse'], + stylesheet => [qw( light dark circus mono red )], keys => 1, }); @@ -22,35 +22,9 @@ Html({ <: use Shiar_Sheet::Keyboard 2; -my $info = do 'screen.inc.pl' or die $@ // $!; +my $info = do 'screen.eng.inc.pl' or die $@ // $!; my $keys = Shiar_Sheet::Keyboard->new($info); $keys->map($get{map}) or undef $get{map}; $keys->print_rows($get{rows}); -:> - -
- -
-
-<: - $keys->print_legend('legend-types', [map { "g$_" } 0 .. 8]); -:> -
- -
-<: - $keys->print_legend('legend-options', [qw'arg']); -:> - - -
-
+$keys->print_legends(\%get);