mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-31 14:24:25 +03:00
use tcell via porting over code from awesome-gocui
This commit is contained in:
@ -26,7 +26,6 @@ import (
|
||||
"github.com/jesseduffield/lazygit/pkg/theme"
|
||||
"github.com/jesseduffield/lazygit/pkg/updates"
|
||||
"github.com/jesseduffield/lazygit/pkg/utils"
|
||||
"github.com/jesseduffield/termbox-go"
|
||||
"github.com/mattn/go-runewidth"
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
@ -87,7 +86,7 @@ type Gui struct {
|
||||
|
||||
type RecordedEvent struct {
|
||||
Timestamp int64
|
||||
Event *termbox.Event
|
||||
Event *gocui.GocuiEvent
|
||||
}
|
||||
|
||||
type listPanelState struct {
|
||||
@ -640,6 +639,8 @@ func (gui *Gui) setColorScheme() error {
|
||||
|
||||
gui.g.FgColor = theme.InactiveBorderColor
|
||||
gui.g.SelFgColor = theme.ActiveBorderColor
|
||||
gui.g.FrameColor = theme.InactiveBorderColor
|
||||
gui.g.SelFrameColor = theme.ActiveBorderColor
|
||||
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user