Skip to content

Commit

Permalink
πŸ› try nil input to avoid a tty
Browse files Browse the repository at this point in the history
  • Loading branch information
acidjazz committed May 6, 2024
1 parent 5a28ffe commit 0535439
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taskin.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func (task *Task) Progress(current, total int) {
}

func (r *Runners) Run() error {
p := tea.NewProgram(r)
p := tea.NewProgram(r, tea.WithInput(nil))
_, err := p.Run()
return err
}
Expand Down

0 comments on commit 0535439

Please sign in to comment.