bump gocui

This commit is contained in:
Jesse Duffield 2022-04-08 10:41:54 +10:00
parent 8433367dac
commit 336f2772e8
98 changed files with 2108 additions and 354 deletions

View file

@ -680,7 +680,11 @@ func (v *View) parseInput(ch rune) (bool, []cell) {
if _, ok := v.ei.instruction.(eraseInLineFromCursor); ok {
// fill rest of line
v.ei.instructionRead()
repeatCount = v.InnerWidth() - v.wx
cx := 0
for _, cell := range v.lines[v.wy] {
cx += runewidth.RuneWidth(cell.chr)
}
repeatCount = v.InnerWidth() - cx
ch = ' '
moveCursor = false
} else if isEscape {