#hook #gpu #ascii #render #window #loop #trait #framework #application #single


Provides a framework for single window applications that render ASCII text

2 releases

0.1.1 Jun 27, 2021
0.1.0 Jun 27, 2021

24 downloads per month

MIT license

944 lines


GitHub Workflow Status Crates.io Crates.io Crates.io GitHub repo size

This crate provides a framework for implementing an application that requires a single window with ASCII text. It uses the GPU to render the ASCII quickly and provides a trait of two methods so that user's code can hook into the main loop that is implemented by the crate.


There is one example that demonstrates a simple application that implements mterm::App which constructs a mterm::Image containing the "Hello World" message, and blits it on to the screen.


~248K SLoC