Skip to content

feat: BWM anti-aliased font, CPU% accounting fix#213

Merged
ryanbreen merged 1 commit intomainfrom
feat/btop
Feb 14, 2026
Merged

feat: BWM anti-aliased font, CPU% accounting fix#213
ryanbreen merged 1 commit intomainfrom
feat/btop

Conversation

@ryanbreen
Copy link
Owner

Summary

  • Upgrade BWM terminal rendering from 5x7 pixel font to noto-sans-mono 16px anti-aliased bitmap font via new libgfx::bitmap_font module
  • Add Color::blend() and FrameBuf::get_pixel() to support anti-aliased glyph rendering
  • Fix scheduler CPU tick double-counting on no-switch paths (both x86_64 and ARM64) and restore Running state correctly
  • Revert init to spawn bsh directly instead of bwm
  • Refactor bsh fart synth to use synth::Biquad and synth::Noise DSP primitives

Test plan

  • ARM64 kernel build: zero warnings
  • x86_64 kernel build: zero warnings
  • Userspace build: 128 binaries installed
  • Interactive test: verify BWM renders with readable anti-aliased font
  • Interactive test: verify btop Monitor tab shows non-zero CPU% for active processes

🤖 Generated with Claude Code

Switch BWM terminal rendering from the 5x7 pixel font to noto-sans-mono
16px anti-aliased bitmap font via new libgfx::bitmap_font module. Add
Color::blend() and FrameBuf::get_pixel() to support anti-aliased glyph
rendering. Fix scheduler CPU tick double-counting by resetting
run_start_ticks after charging ticks on no-switch paths (both x86_64
and ARM64). Restore Running state when scheduler returns None. Revert
init to spawn bsh directly instead of bwm. Refactor bsh fart synth to
use synth::Biquad and synth::Noise DSP primitives.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ryanbreen ryanbreen merged commit 3f82a7a into main Feb 14, 2026
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant