From acca64b9cad420288d427216ec23872655f46d2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BB=9D=E5=B0=98?= <237809796@qq.com> Date: Wed, 3 Jun 2026 22:04:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96:=20=E6=B8=B2=E6=9F=93=20FPS?= =?UTF-8?q?=2060=E2=86=925=EF=BC=8C=E4=BF=AE=E5=A4=8D=E7=A9=BA=E9=97=B2=20?= =?UTF-8?q?CPU=2020%=20=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index ff74289..4ea9714 100644 --- a/main.go +++ b/main.go @@ -13,7 +13,7 @@ import ( func main() { internal.InitData() m := internal.NewModel() - p := tea.NewProgram(m) + p := tea.NewProgram(m, tea.WithFPS(5)) if _, err := p.Run(); err != nil { fmt.Fprintf(os.Stderr, "启动失败: %v\n", err) os.Exit(1)