mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-01 00:54:58 +02:00
bump gocui
This commit is contained in:
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,
|
"Backspace": KeyBackspace,
|
||||||
"CtrlH": KeyCtrlH,
|
"CtrlH": KeyCtrlH,
|
||||||
"Tab": KeyTab,
|
"Tab": KeyTab,
|
||||||
|
"BackTab": KeyBacktab,
|
||||||
"CtrlI": KeyCtrlI,
|
"CtrlI": KeyCtrlI,
|
||||||
"CtrlJ": KeyCtrlJ,
|
"CtrlJ": KeyCtrlJ,
|
||||||
"CtrlK": KeyCtrlK,
|
"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
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
if c.chr != 0 {
|
// Not sure why the previous code was here but it caused problems
|
||||||
// If it is a rune, add rune width
|
// when typing wide characters in an editor
|
||||||
x += runewidth.RuneWidth(c.chr)
|
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++
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
y++
|
y++
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user