mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-13 05:15:53 +02:00
bump gocui
This commit is contained in:
parent
8433367dac
commit
336f2772e8
98 changed files with 2108 additions and 354 deletions
6
vendor/github.com/jesseduffield/gocui/view.go
generated
vendored
6
vendor/github.com/jesseduffield/gocui/view.go
generated
vendored
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue