X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/1d37e00ff50c4cee3f23749febcfe6e33e1f608a..3aab2658e078a4f424343fb10817f8d0eab9343b:/vimperator.plp diff --git a/vimperator.plp b/vimperator.plp index 731c0f2..84d9106 100644 --- a/vimperator.plp +++ b/vimperator.plp @@ -28,8 +28,8 @@ $header{content_type} = "text/html; charset=$sign{charset}"; ) for keys %styles; our $showkeys = exists $get{keys} && $get{keys} ne '0'; - print "\n" unless $showkeys; - print "\n" + print "\n".'' unless $showkeys; + print "\n".'' if $showkeys and $get{keys} eq 'ghost'; :> @@ -53,7 +53,7 @@ $header{content_type} = "text/html; charset=$sign{charset}"; use Shiar_Sheet::Keyboard; my $keys = Shiar_Sheet::Keyboard->new({do 'vimperator.inc.pl'}); $keys->map($get{map}) or undef $get{map}; -$keys->print_rows($get{static}); +$keys->print_rows($get{rows}); :>