Host's map animates at five frames a second, not ten
Each frame redraws most of the screen, which costs the terminal too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e72c1d494a
commit
0802be973b
1 file changed
+1
-1
+1
-1
@@ -47,7 +47,7 @@ type hostFrameMsg struct{}
|
||||
|
||||
func (hostFrameMsg) owner() string { return "Host" }
|
||||
|
||||
const hostFrame = 100 * time.Millisecond
|
||||
const hostFrame = 200 * time.Millisecond // five frames a second: each redraws most of the screen
|
||||
|
||||
func (hostStatsMsg) owner() string { return "Host" }
|
||||
func (hostTickMsg) owner() string { return "Host" }
|
||||
|
||||
Reference in new issue
Block a user