X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/61b9cf825da723f6ffac7dae46404291603b1cdd..4bc4dd7ca1311b10152534ef31a2d0e9a1fb398e:/screen.plp?ds=sidebyside
diff --git a/screen.plp b/screen.plp
index a99dc98..aeed949 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,8 +11,7 @@ Html({
screen sheet cheat reference overview commands keyboard
terminal window manager
'],
- charset => $sign{charset},
- stylesheet => [qw'light dark circus mono red terse'],
+ stylesheet => [qw( light dark circus mono red )],
keys => 1,
});
@@ -21,23 +20,21 @@ Html({
normal mode (default)
-
-
<:
use Shiar_Sheet::Keyboard 2;
-my $info = do 'screen.inc.pl' or die $! // $@;
+my $info = do 'screen.eng.inc.pl' or die $@ // $!;
+$info->{def} = do 'screen.inc.pl';
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-types', ['g1' .. 'g7', 'g9']);
:>
@@ -49,9 +46,6 @@ $keys->print_rows($get{rows});
- keyboard map is
<:= $get{map} ? 'set to ' : '' :><:= $keys->{map} :>
-
- ascii mode is
- <:= defined $sign{-ascii} && 'forced ' :><:=
- $sign{-ascii} ? 'on' : 'off' :>
- keys are
<:= $showkeys ? 'always shown' : 'hidden if unassigned' :><:=
!defined $showkeys && ' by default' :>