mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-08-06 11:02:41 +03:00
bump gocui
This commit is contained in:
15
vendor/github.com/jesseduffield/gocui/tcell_driver.go
generated
vendored
15
vendor/github.com/jesseduffield/gocui/tcell_driver.go
generated
vendored
@@ -31,6 +31,12 @@ var runeReplacements = map[rune]string{
|
||||
'╰': "+",
|
||||
'╯': "+",
|
||||
'─': "-",
|
||||
'═': "-",
|
||||
'║': "|",
|
||||
'╔': "+",
|
||||
'╗': "+",
|
||||
'╚': "+",
|
||||
'╝': "+",
|
||||
|
||||
// using a hyphen here actually looks weird.
|
||||
// We see these characters when in portrait mode
|
||||
@@ -146,10 +152,11 @@ func setTcellFontEffectStyle(st tcell.Style, attr Attribute) tcell.Style {
|
||||
type gocuiEventType uint8
|
||||
|
||||
// GocuiEvent represents events like a keys, mouse actions, or window resize.
|
||||
// The 'Mod', 'Key' and 'Ch' fields are valid if 'Type' is 'eventKey'.
|
||||
// The 'MouseX' and 'MouseY' fields are valid if 'Type' is 'eventMouse'.
|
||||
// The 'Width' and 'Height' fields are valid if 'Type' is 'eventResize'.
|
||||
// The 'Err' field is valid if 'Type' is 'eventError'.
|
||||
//
|
||||
// The 'Mod', 'Key' and 'Ch' fields are valid if 'Type' is 'eventKey'.
|
||||
// The 'MouseX' and 'MouseY' fields are valid if 'Type' is 'eventMouse'.
|
||||
// The 'Width' and 'Height' fields are valid if 'Type' is 'eventResize'.
|
||||
// The 'Err' field is valid if 'Type' is 'eventError'.
|
||||
type GocuiEvent struct {
|
||||
Type gocuiEventType
|
||||
Mod Modifier
|
||||
|
Reference in New Issue
Block a user