1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//! Terminal emulator on [embedded-graphics].
//!
//! The crate is `no_std` compatible. It is suitable for embedded systems and OS kernels.
//!
//! The [`Console`] can be built on top of either a [`TextBuffer`] or a frame buffer ([`DrawTarget`]).
//! For example, the [VGA text mode] has a text buffer, while the graphic mode has a frame buffer.
//!
//! It can be tested in SDL2 with the help of [`embedded_graphics_simulator`](https://docs.rs//embedded-graphics/#simulator).
//! See examples for details.
//!
//! [embedded-graphics]: embedded_graphics
//! [`DrawTarget`]: embedded_graphics::draw_target::DrawTarget
//! [VGA text mode]: https://en.wikipedia.org/wiki/VGA_text_mode
extern crate alloc;
extern crate log;
pub use ;
pub use TextOnGraphic;
pub use TextBuffer;
pub use TextBufferCache;