From 2ffb3bed2f97e048b03c27bbc0f904d9be94049a Mon Sep 17 00:00:00 2001 From: Rob Pilling Date: Sat, 20 Apr 2024 12:01:47 +0100 Subject: [PATCH] kbmulti: auto-capitalise when at the start --- apps/kbmulti/lib.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/kbmulti/lib.js b/apps/kbmulti/lib.js index 7e526a774..04240b3e5 100644 --- a/apps/kbmulti/lib.js +++ b/apps/kbmulti/lib.js @@ -77,6 +77,8 @@ exports.input = function(options) { if (textIndex > -1){ text = text.slice(0, textIndex) + text.slice(textIndex + 1); textIndex--; + if (textIndex == -1 && !caps) + setCaps() newCharacter(); } }