kbmulti: auto-capitalise when at the start
parent
c2a5d2517a
commit
2ffb3bed2f
|
|
@ -77,6 +77,8 @@ exports.input = function(options) {
|
||||||
if (textIndex > -1){
|
if (textIndex > -1){
|
||||||
text = text.slice(0, textIndex) + text.slice(textIndex + 1);
|
text = text.slice(0, textIndex) + text.slice(textIndex + 1);
|
||||||
textIndex--;
|
textIndex--;
|
||||||
|
if (textIndex == -1 && !caps)
|
||||||
|
setCaps()
|
||||||
newCharacter();
|
newCharacter();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue