abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2/ComposeKey.java
diff options
context:
space:
mode:
Diffstat (limited to 'srcs/juloo.keyboard2/ComposeKey.java')
-rw-r--r--srcs/juloo.keyboard2/ComposeKey.java12
1 files changed, 8 insertions, 4 deletions
diff --git a/srcs/juloo.keyboard2/ComposeKey.java b/srcs/juloo.keyboard2/ComposeKey.java
index 9571c03..5be9597 100644
--- a/srcs/juloo.keyboard2/ComposeKey.java
+++ b/srcs/juloo.keyboard2/ComposeKey.java
@@ -10,10 +10,14 @@ public final class ComposeKey
{
switch (kv.getKind())
{
- case Char:
- return apply(state, kv.getChar());
- case String:
- return apply(state, kv.getString());
+ case Char: return apply(state, kv.getChar());
+ case String: return apply(state, kv.getString());
+ case Editing:
+ switch (kv.getEditing())
+ {
+ case SPACE_BAR: return apply(state, ' ');
+ }
+ break;
}
return null;
}