diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 28bfa97..dbc3d21 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,2 +1,2 @@ patreon: sampler -custom: ['http://sampler.dev/#pricing'] \ No newline at end of file +custom: ['http://sampler.dev/#pricing'] diff --git a/component/statusbar.go b/component/statusbar.go index a5f61a2..8d43033 100644 --- a/component/statusbar.go +++ b/component/statusbar.go @@ -20,7 +20,7 @@ type StatusBar struct { pause bool } -func NewStatusLine(configFileName string, palette console.Palette, license *metadata.License) *StatusBar { +func NewStatusBar(configFileName string, palette console.Palette, license *metadata.License) *StatusBar { block := *ui.NewBlock() block.Border = false diff --git a/console/palette.go b/console/palette.go index d36f77d..88b865a 100644 --- a/console/palette.go +++ b/console/palette.go @@ -65,7 +65,7 @@ func GetPalette(theme Theme) Palette { ReverseColor: ColorWhite, } default: - panic(fmt.Sprintf("Following theme is not supported: %v", theme)) + panic(fmt.Sprintf("Specified theme is not supported: %v", theme)) } } diff --git a/main.go b/main.go index 0d7b492..cb22444 100644 --- a/main.go +++ b/main.go @@ -90,7 +90,7 @@ func main() { defer updateStatistics(cfg, time.Now()) palette := console.GetPalette(*cfg.Theme) - lout := layout.NewLayout(component.NewStatusLine(*opt.ConfigFile, palette, license), + lout := layout.NewLayout(component.NewStatusBar(*opt.ConfigFile, palette, license), component.NewMenu(palette), component.NewIntro(palette), component.NewNagWindow(palette)) if statistics.LaunchCount == 0 { diff --git a/metadata/statistics.go b/metadata/statistics.go index a211f00..240b9ac 100644 --- a/metadata/statistics.go +++ b/metadata/statistics.go @@ -11,7 +11,7 @@ import ( ) // Statistics represents anonymous usage data, which we collect for analyses and improvements -// User can disable it, along with crash reports, using --telemetry flag +// User can disable it, along with crash reports, using --disable-telemetry flag type Statistics struct { Version string OS string