mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 07:36:27 -04:00
fix panel outlines for windows
This commit is contained in:
parent
a4a975a69c
commit
a4f4a16237
5
gui.go
5
gui.go
|
|
@ -6,6 +6,7 @@ import (
|
|||
// "io/ioutil"
|
||||
|
||||
"log"
|
||||
"runtime"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
|
|
@ -136,7 +137,9 @@ func keybindings(g *gocui.Gui) error {
|
|||
func layout(g *gocui.Gui) error {
|
||||
g.Highlight = true
|
||||
g.SelFgColor = gocui.ColorWhite | gocui.AttrBold
|
||||
g.FgColor = gocui.ColorBlack
|
||||
if runtime.GOOS == "windows" {
|
||||
g.FgColor = gocui.ColorBlack
|
||||
}
|
||||
width, height := g.Size()
|
||||
leftSideWidth := width / 3
|
||||
statusFilesBoundary := 2
|
||||
|
|
|
|||
Loading…
Reference in a new issue