kbmulti: auto-capitalise when at the start

pull/3370/head
Rob Pilling 2024-04-20 12:01:47 +01:00
parent c2a5d2517a
commit 2ffb3bed2f
1 changed files with 2 additions and 0 deletions

View File

@ -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();
}
}