Skip to content

Commit 565ba4a

Browse files
authored
Merge pull request #205 from rumpl/fix-windows-tui
Fix the TUI on windows
2 parents 934943a + 9fd31cc commit 565ba4a

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)