From d96414c6c6d995db020ec38556ef2e635574b759 Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Thu, 2 May 2024 19:37:18 +0200 Subject: [PATCH] Allow the newline character '\n' in layouts --- srcs/juloo.keyboard2/KeyValue.java | 1 + 1 file changed, 1 insertion(+) diff --git a/srcs/juloo.keyboard2/KeyValue.java b/srcs/juloo.keyboard2/KeyValue.java index da21d84..1f00464 100644 --- a/srcs/juloo.keyboard2/KeyValue.java +++ b/srcs/juloo.keyboard2/KeyValue.java @@ -467,6 +467,7 @@ public final class KeyValue implements Comparable /* Spaces */ case "\\t": return charKey("\\t", '\t', 0); // Send the tab character + case "\\n": return charKey("\\n", '\n', 0); // Send the newline character case "space": return charKey(0xE00D, ' ', FLAG_KEY_FONT | FLAG_SMALLER_FONT | FLAG_GREYED); case "nbsp": return charKey("\u237d", '\u00a0', FLAG_SMALLER_FONT);