r/FlutterDev • u/Status_Support2913 • Jul 02 '26
Plugin I built a Flutter terminal widget powered by Alacritty's Rust engine â feedback welcome
đ Iâve been working on flutter_alacritty â a Flutter terminal widget you can drop into desktop apps, backed by an Alacritty-based Rust engine.
Why I moved away from xterm:
I used xterm for a long time, but kept running into limitations that mattered for my use case:
- Text rendering â many glyphs/styles didnât render correctly
- No OSC hyperlinks â modern CLIs and tools that emit OSC 8 links werenât supported
- Resize, scrolling, and high-density output â performance was poor when the terminal was under real load
So I built flutter_alacritty (with AI coding agents helping along the way). Itâs what TeamPilot uses today, and it has held up well across multiple agent TUIs rendering at once.
Links:
- Package:Â https://pub.dev/packages/flutter_alacritty
- Repo + screenshots:Â https://github.com/hhoao/flutter_alacritty
- API walkthrough:Â https://github.com/hhoao/flutter_alacritty/blob/main/docs/library-api.md
- Example app (drag-drop paths, context menu, search bar):Â
lib/example/example_app.dart
Real usage: TeamPilot uses it for embedded terminals (local PTY + SSH) in a multi-agent desktop client.
Try it via the standalone demo in the release.
Iâd love feedback from anyone embedding terminals in Flutter.