We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9e1346 commit 8ad6048Copy full SHA for 8ad6048
ui/text.go
@@ -87,7 +87,11 @@ func (t *Text) Type(r rune) {
87
currentWord.Skip()
88
}
89
90
- if t.cursorPos < len(t.words)-1 {
+ if t.cursorPos < len(t.words)-2 {
91
+ currentWord.SetActive(false)
92
+ t.cursorPos += 2
93
+ t.words[t.cursorPos].SetActive(true)
94
+ } else if t.cursorPos < len(t.words)-1 {
95
currentWord.SetActive(false)
96
t.cursorPos++
97
t.words[t.cursorPos].SetActive(true)
0 commit comments