diff options
| author | Jules Aguillon | 2024-05-02 19:37:18 +0200 |
|---|---|---|
| committer | Jules Aguillon | 2024-05-02 19:37:18 +0200 |
| commit | d96414c6c6d995db020ec38556ef2e635574b759 (patch) | |
| tree | 7f645f4fcdc5aa8a394d86509bd0269eef7292b9 /srcs/juloo.keyboard2/KeyValue.java | |
| parent | 0f11a884185b832496fa5374ff03cfe61b91f9fb (diff) | |
| download | unexpected-keyboard-d96414c6c6d995db020ec38556ef2e635574b759.tar.gz unexpected-keyboard-d96414c6c6d995db020ec38556ef2e635574b759.zip | |
Allow the newline character '\n' in layouts
Diffstat (limited to 'srcs/juloo.keyboard2/KeyValue.java')
| -rw-r--r-- | srcs/juloo.keyboard2/KeyValue.java | 1 |
1 files changed, 1 insertions, 0 deletions
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<KeyValue> /* 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); |
