BrewBar/BrewBar
maxsoch 99c243a51c fix: cap logBuffer at 100k chars to prevent unbounded growth
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>
2026-07-06 21:33:32 +02:00
..
Assets.xcassets Adding Xcode project; base code available and working 2026-06-30 17:40:51 +02:00
BrewBarApp.swift fix: cap logBuffer at 100k chars to prevent unbounded growth 2026-07-06 21:33:32 +02:00
BrewParser.swift add unit test target with BrewParser extraction 2026-07-06 21:17:26 +02:00
Info.plist Adding Xcode project; base code available and working 2026-06-30 17:40:51 +02:00
LogWindowController.swift add dev tooling from /init: swiftlint, skills, gitignore; apply swiftformat 2026-07-06 21:07:17 +02:00