Skip to content

Commit

Permalink
feat: set window title
Browse files Browse the repository at this point in the history
  • Loading branch information
mistakenelf committed Apr 6, 2024
1 parent c853f49 commit aca3f86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ var rootCmd = &cobra.Command{
m := tui.New(cfg)

p := tea.NewProgram(m, tea.WithAltScreen())
p.SetWindowTitle("FM")
if _, err := p.Run(); err != nil {
log.Fatal("Failed to start fm", err)
os.Exit(1)
Expand Down

0 comments on commit aca3f86

Please sign in to comment.