Bump gocui

This commit is contained in:
Stefan Haller 2025-01-20 17:52:51 +01:00
parent a77dcbe3a1
commit fe429c6184
4 changed files with 5 additions and 5 deletions

View file

@ -787,7 +787,7 @@ func (v *View) writeRunes(p []rune) {
}
until := len(p)
if until > 0 && p[until-1] == '\n' {
if !v.Editable && until > 0 && p[until-1] == '\n' {
v.pendingNewline = true
until--
}