From 483dd9a783f91696c9e51a227d685de6381aa300 Mon Sep 17 00:00:00 2001 From: Anton Medvedev Date: Sun, 8 May 2022 11:42:16 +0200 Subject: [PATCH] Disable sleep on startup --- main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.go b/main.go index 12ec3c0..21c7c71 100644 --- a/main.go +++ b/main.go @@ -8,7 +8,6 @@ import ( "path" "runtime/pprof" "strings" - "time" . "github.com/antonmedv/fx/pkg/dict" . "github.com/antonmedv/fx/pkg/json" @@ -155,7 +154,7 @@ func main() { // TODO: delete after tea can reopen stdin. // https://github.com/charmbracelet/bubbletea/issues/302 - time.Sleep(100 * time.Millisecond) + // time.Sleep(100 * time.Millisecond) p := tea.NewProgram(m, tea.WithAltScreen(), tea.WithMouseCellMotion()) if err := p.Start(); err != nil {