From c57ae83bfa2141edf637075696043cb98068684b Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Tue, 10 Sep 2024 22:16:49 +0200 Subject: Compose sequences can end in internal key names This adds the '\n' and '\t' sequences to showcase the new feature. --- srcs/juloo.keyboard2/ComposeKey.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'srcs/juloo.keyboard2/ComposeKey.java') 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. -- cgit v1.2.3