diff --git a/srcs/compose/compose/extra.json b/srcs/compose/compose/extra.json index 08c6f8b..31cdf82 100644 --- a/srcs/compose/compose/extra.json +++ b/srcs/compose/compose/extra.json @@ -3,5 +3,9 @@ "s": "Š", "c": "Č", "z": "Ž" + }, + "\\": { + "n": "\\n", + "t": "\\t" } } diff --git a/srcs/juloo.keyboard2/ComposeKey.java b/srcs/juloo.keyboard2/ComposeKey.java index 9272bd0..9575486 100644 --- a/srcs/juloo.keyboard2/ComposeKey.java +++ b/srcs/juloo.keyboard2/ComposeKey.java @@ -42,7 +42,7 @@ public final class ComposeKey else if (next_header == 0xFFFF) // String final state { int next_length = edges[next]; - return KeyValue.makeStringKey( + return KeyValue.getKeyByName( new String(states, next + 1, next_length - 1)); } else // Character final state. diff --git a/srcs/juloo.keyboard2/ComposeKeyData.java b/srcs/juloo.keyboard2/ComposeKeyData.java index 48916eb..dd24192 100644 Binary files a/srcs/juloo.keyboard2/ComposeKeyData.java and b/srcs/juloo.keyboard2/ComposeKeyData.java differ