git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vi: specific version and extension classes
[sheet.git]
/
Shiar_Sheet
/
Keyboard.pm
diff --git
a/Shiar_Sheet/Keyboard.pm
b/Shiar_Sheet/Keyboard.pm
index 98c5a40a330a774e564464f4ceb005db21227ce0..c627d6d9cdd8a76407cc09a1cdf0e13296e8f056 100644
(file)
--- a/
Shiar_Sheet/Keyboard.pm
+++ b/
Shiar_Sheet/Keyboard.pm
@@
-130,6
+130,8
@@
sub print_key {
' onclick="setmode(%s)"',
$1 eq '' ? '' : sprintf(q{'mode%s'}, escapeclass($1))
);
+ $flags =~ s/\bx\w+/ext/;
+ $flags =~ s/\bv\d+/new/;
$flags .= ' chr'.ord(substr $key, -1) if $key ne '^0';
print qq{\t\t<td class="$flags"$onclick>$keytxt};