Skip to content

Commit 9fd31cc

Browse files
committed
Fix the TUI on windows
Window resize doesn't work with this, remove it Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
1 parent a7e1e69 commit 9fd31cc

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

cmd/root/run.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import (
1111
"os"
1212
"os/signal"
1313
"path/filepath"
14-
goRuntime "runtime"
1514
"strings"
1615
"time"
1716

@@ -284,10 +283,6 @@ func doRunCommand(ctx context.Context, args []string, exec bool) error {
284283
tea.WithMouseCellMotion(),
285284
tea.WithMouseAllMotion(),
286285
}
287-
if goRuntime.GOOS == "windows" {
288-
// WithInputTTY seems to be required for proper keyboard input
289-
progOpts = append(progOpts, tea.WithInputTTY())
290-
}
291286

292287
p := tea.NewProgram(m, progOpts...)
293288

0 commit comments

Comments
 (0)