mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-12-04 10:34:55 +02:00
hide underscores more
This commit is contained in:
parent
c77c02c879
commit
5964472ec1
@ -1,11 +1,20 @@
|
||||
package style
|
||||
|
||||
import (
|
||||
"os"
|
||||
"text/template"
|
||||
|
||||
"github.com/gookit/color"
|
||||
)
|
||||
|
||||
// See https://github.com/xtermjs/xterm.js/issues/4238
|
||||
// VSCode is soon to fix this in an upcoming update.
|
||||
// Once that's done, we can scrap the HIDE_UNDERSCORES variable
|
||||
// duplicating because init() isn't always called when we need it
|
||||
func init() {
|
||||
HIDE_UNDERSCORES = os.Getenv("TERM_PROGRAM") == "vscode"
|
||||
}
|
||||
|
||||
var (
|
||||
FgWhite = FromBasicFg(color.FgWhite)
|
||||
FgLightWhite = FromBasicFg(color.FgLightWhite)
|
||||
|
Loading…
Reference in New Issue
Block a user