1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-02-03 13:21:56 +02:00

bring back white borders for everybody

This commit is contained in:
Jesse Duffield 2018-08-08 22:53:24 +10:00
parent d9ec6f9890
commit 7371765d47

4
gui.go
View File

@ -5,7 +5,6 @@ import (
// "io"
// "io/ioutil"
"runtime"
"strings"
"time"
@ -73,9 +72,6 @@ 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" && runtime.GOOS != "linux" {
g.FgColor = gocui.ColorBlack
}
width, height := g.Size()
leftSideWidth := width / 3
statusFilesBoundary := 2