Every brew command appended its full output to logBuffer and nothing ever trimmed it, so with the hourly refresh timer the buffer grew forever. Memory aside, each log() call re-renders the entire buffer into the log window's NSTextView, so logging got slower over time. Keep only the most recent 100k characters, dropping the oldest content. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .claude/skills | ||
| asset | ||
| BrewBar | ||
| BrewBar.xcodeproj | ||
| BrewBarTests | ||
| .gitignore | ||
| .swiftlint.yml | ||
| LICENSE | ||
| README.md | ||