Skip to content

Commit

Permalink
Trying stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
drewstinnett committed Feb 3, 2024
1 parent 9f8fc63 commit ebefb6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/letseat/cmd/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func runImport(cmd *cobra.Command, args []string) error {
current: &zero,
}
// fn, _ := os.Open("/tmp/whatever.txt")
_, rerr := tea.NewProgram(pb, tea.WithInput(os.Stdin)).Run()
_, rerr := tea.NewProgram(pb, tea.WithInput(os.Stdout)).Run()
if rerr != nil {
slog.Error("error running progressbar", "error", rerr)
}
Expand Down

0 comments on commit ebefb6b

Please sign in to comment.