From 05354399db3e73d5fdbb6b3f541ca58667ea825b Mon Sep 17 00:00:00 2001 From: kevin olson Date: Mon, 6 May 2024 00:10:01 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20try=20nil=20input=20to=20avoid?= =?UTF-8?q?=20a=20tty?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- taskin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taskin.go b/taskin.go index 8e06229..d3e248d 100644 --- a/taskin.go +++ b/taskin.go @@ -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 }