1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

add graph algorithm

This commit is contained in:
Jesse Duffield
2021-11-01 09:16:45 +11:00
parent 927ee63106
commit 7a464ae5b7
6 changed files with 1083 additions and 5 deletions

View File

@ -1,8 +1,9 @@
package style
import (
"github.com/gookit/color"
"text/template"
"github.com/gookit/color"
)
var (
@ -16,6 +17,7 @@ var (
FgBlue = FromBasicFg(color.FgBlue)
FgYellow = FromBasicFg(color.FgYellow)
FgMagenta = FromBasicFg(color.FgMagenta)
FgDefault = FromBasicFg(color.FgDefault)
BgWhite = FromBasicBg(color.BgWhite)
BgBlack = FromBasicBg(color.BgBlack)
@ -26,6 +28,9 @@ var (
BgMagenta = FromBasicBg(color.BgMagenta)
BgCyan = FromBasicBg(color.BgCyan)
// will not print any colour escape codes, including the reset escape code
Nothing = New()
AttrUnderline = New().SetUnderline()
AttrBold = New().SetBold()