This commit is contained in:
Luke I. Wilson 2021-03-18 19:52:34 -05:00
parent e1ebc29ac1
commit 1d77aae277
2 changed files with 4 additions and 4 deletions

View File

@ -463,7 +463,7 @@ func (t *TextEdit) Draw(s tcell.Screen) {
currentStyle = textEditStyle // reset style currentStyle = textEditStyle // reset style
} }
r := ' ' // Rune to draw r := ' ' // Rune to draw
if i < len(lineRunes) { // While we're drawing the line if i < len(lineRunes) { // While we're drawing the line
r = lineRunes[i] r = lineRunes[i]
} }