opencode
opencode copied to clipboard
fix: corrupted token percentage in TUI
Fixes #5801. Handles NaN/Infinity values and escapes the percentage symbol.
The api should be guarenteeing that the values are either 0 or real they shouldn't be Nan ever, I think the fix needs to be done "upstream" as in not in tui code prolly right?
Do u have a session that had this issue? Shoudl help narrow down if u can opencode export > session.json for me?