mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-03-17 21:18:31 +02:00
bump gocui
This commit is contained in:
parent
a3ac8193d6
commit
355f1810c7
1
vendor/github.com/jesseduffield/gocui/keybinding.go
generated
vendored
1
vendor/github.com/jesseduffield/gocui/keybinding.go
generated
vendored
@ -185,6 +185,7 @@ var translate = map[string]Key{
|
||||
"Backspace": KeyBackspace,
|
||||
"CtrlH": KeyCtrlH,
|
||||
"Tab": KeyTab,
|
||||
"BackTab": KeyBacktab,
|
||||
"CtrlI": KeyCtrlI,
|
||||
"CtrlJ": KeyCtrlJ,
|
||||
"CtrlK": KeyCtrlK,
|
||||
|
11
vendor/github.com/jesseduffield/gocui/view.go
generated
vendored
11
vendor/github.com/jesseduffield/gocui/view.go
generated
vendored
@ -780,14 +780,9 @@ func (v *View) draw() error {
|
||||
return err
|
||||
}
|
||||
|
||||
if c.chr != 0 {
|
||||
// If it is a rune, add rune width
|
||||
x += runewidth.RuneWidth(c.chr)
|
||||
} else {
|
||||
// If it is NULL rune, add 1 to be able to use SetWritePos
|
||||
// (runewidth.RuneWidth of space is 1)
|
||||
x++
|
||||
}
|
||||
// Not sure why the previous code was here but it caused problems
|
||||
// when typing wide characters in an editor
|
||||
x += runewidth.RuneWidth(c.chr)
|
||||
}
|
||||
y++
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user