From 67ef1d40f3bb08b6acf7bb3949aad87126b6b22d Mon Sep 17 00:00:00 2001 From: Willow Barraco Date: Thu, 31 Aug 2023 12:38:35 +0200 Subject: [PATCH] Add non-breaking space to compose punctuation --- layout.mobintl.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/layout.mobintl.h b/layout.mobintl.h index 94ebfab..2697839 100644 --- a/layout.mobintl.h +++ b/layout.mobintl.h @@ -1670,17 +1670,21 @@ static struct key keys_compose_math[] = { static struct key keys_compose_punctuation[] = { {"", "", 0.0, EndRow}, - {"", "", 0.0, EndRow}, - {"⇧", "⇫", 1.5, Mod, Shift, .scheme = 1}, + {"", "", 4.5, Pad}, + {".", ".", 1, Code, KEY_DOT}, {"…", "…", 1, Copy, 0x2026, 0, 0x2026}, {":", ":", 1, Code, KEY_SEMICOLON, 0, Shift}, {";", ";", 1, Code, KEY_SEMICOLON, 0}, + {"¤", "¤", 1, Copy, 0x00A0, 0, 0x00A0}, + {"", "", 0.5, Pad}, + {"", "", 0.0, EndRow}, + {"⇧", "⇫", 1.5, Mod, Shift, .scheme = 1}, + {"", "", 3, Pad}, {"!", "!", 1, Code, KEY_1, 0, Shift}, {"?", "?", 1, Code, KEY_DOT, 0, Shift}, {"·", "·", 1, Copy, 0x2027, 0, 0x2027}, {",", ",", 1, Code, KEY_COMMA}, - {".", ".", 1, Code, KEY_DOT}, - {"", "", 0.5, Pad}, + {"", "", 1.5, Pad}, {"", "", 0.0, EndRow}, {"Abc", "Abc", 1.0, BackLayer, .scheme = 1}, {"", "", 9, Pad},