X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/f22a9debc2c3c50828c31ff028057734a4aadea6..63d6a8fab9c483e8f1fe6c8a6374b58a6c34884e:/mutt.plp?ds=inline
diff --git a/mutt.plp b/mutt.plp
index ec4d0a2..62c2fc1 100644
--- a/mutt.plp
+++ b/mutt.plp
@@ -2,7 +2,7 @@
Html({
title => 'mutt cheat sheet',
- version => 'v1.0',
+ version => 'v1.1',
description => [
"Cheat sheet for the Mutt e-mail client,",
"showing the default binding for each key.",
@@ -20,52 +20,24 @@ Html({
index (default)
-
-
--
-
-
-
<:
-use Shiar_Sheet::Keyboard;
-my $keys = Shiar_Sheet::Keyboard->new({do 'mutt.inc.pl'});
+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});
:>
-
-
- - aside
-
- Temporarily display something without changing state.
-
- select
-
- Scroll list and/or select a different line.
-
- search
-
- Go to a specific message entry.
-
- edit
-
- Modify message flags or contents.
-
- command
-
- Any other action which does not alter an existing message.
-
- send
-
- Prepare and/or send a (new) message.
-
- leave
-
- Exit the opened folder.
-
- display
-
- Permanently alter/toggle current view.
-
+<: $keys->print_legend('legend-types', [qw( ci pm po co mi mo mv me )]) :>
-
- - key<:= $sign{arg} :>
-
- Commands with a dot need an argument afterwards.
-
+<: $keys->print_legend('legend-options', [qw( arg )]) :>