X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/3bfa29782285fd9a9fefcaf21fa0aa7df776d88b..637b7a6936d2937561bdbcd44595384fc5cc14f3:/readline.plp diff --git a/readline.plp b/readline.plp index ed5f366..7c0bcb4 100644 --- a/readline.plp +++ b/readline.plp @@ -2,7 +2,7 @@ Html({ title => 'readline cheat sheet', - version => '1.1', + version => '1.2', description => [ "Reference sheet of default key bindings for GNU readline,", "used for line-editing in most Unix software, notably Emacs and Bash.", @@ -25,27 +25,5 @@ my $info = do 'readline.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} || '^x=213', [4,3,2]); -:> - -
- -
-
-<: $keys->print_legend('legend-types', ['g1', 'g2', 'g4', 'g6' .. 'g9']) :> -
- -
-<: $keys->print_legend('legend-options', [qw( arg new ext )]) :> - - -
-
+$keys->print_legends(\%get);