Skip to content

Commit

Permalink
NewDefaultEmojiRenderingConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
fkorotkov committed Nov 9, 2020
1 parent cbf60c0 commit f711a1c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions renderers/config/interactive_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ type InteractiveRendererConfig struct {

func NewDefaultRenderingConfig() *InteractiveRendererConfig {
if runtime.GOOS == "windows" {
return NewDefaultWindowsRenderingConfig()
return NewDefaultSymbolsOnlyRenderingConfig()
}
return NewDefaultUnixRenderingConfig()
return NewDefaultEmojiRenderingConfig()
}

func NewDefaultUnixRenderingConfig() *InteractiveRendererConfig {
func NewDefaultEmojiRenderingConfig() *InteractiveRendererConfig {
//nolint:gomnd
return &InteractiveRendererConfig{
Colors: terminal.DefaultColorSchema(),
Expand All @@ -38,7 +38,7 @@ func NewDefaultUnixRenderingConfig() *InteractiveRendererConfig {
}
}

func NewDefaultWindowsRenderingConfig() *InteractiveRendererConfig {
func NewDefaultSymbolsOnlyRenderingConfig() *InteractiveRendererConfig {
//nolint:gomnd
return &InteractiveRendererConfig{
Colors: terminal.DefaultColorSchema(),
Expand Down

0 comments on commit f711a1c

Please sign in to comment.