1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-01-04 03:48:07 +02:00

use brighter panels for linux

This commit is contained in:
Jesse Duffield 2018-08-08 21:46:56 +10:00
parent feada164d0
commit 9858bfe4c3

4
gui.go
View File

@ -73,8 +73,8 @@ func handleRefresh(g *gocui.Gui, v *gocui.View) error {
func layout(g *gocui.Gui) error {
g.Highlight = true
g.SelFgColor = gocui.ColorWhite | gocui.AttrBold
if runtime.GOOS != "windows" {
g.FgColor = gocui.ColorBlack
if runtime.GOOS != "windows" && runtime.GOOS != "linux" {
g.FgColor = gocui.ColorDefault
}
width, height := g.Size()
leftSideWidth := width / 3