Skip to content

Commit

Permalink
feat: use window title command
Browse files Browse the repository at this point in the history
  • Loading branch information
mistakenelf committed May 25, 2024
1 parent 43a54cc commit 83f2abb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ 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)
Expand Down
1 change: 1 addition & 0 deletions internal/tui/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ func (m model) Init() tea.Cmd {
m.filetree.Init(),
m.secondaryFiletree.Init(),
textinput.Blink,
tea.SetWindowTitle("FM"),
)
}

0 comments on commit 83f2abb

Please sign in to comment.