Skip to main content

bevy_terminal/
lib.rs

1#![doc = include_str!("../README.md")]
2
3pub mod render;
4pub mod scene;
5pub mod surface;
6
7/// The Bevy version this crate is built against, re-exported so dependents that
8/// do not depend on `bevy` directly can name its types.
9pub use bevy;
10
11/// Everything an application needs, for glob import.
12pub mod prelude {
13    pub use bevy::text::{FontHinting, FontSource};
14
15    pub use crate::{
16        render::{
17            BlinkConfig, CursorConfig, CursorStyle, FontFaces, RasterConfig, TerminalGeometry,
18            TerminalPlugin, TerminalRenderConfig, TerminalRenderer, TerminalSizing, TerminalStats,
19            TerminalStatus, TerminalSystems, TerminalTexture, TerminalTheme,
20        },
21        scene::{
22            CellOccupancy, CellPosition, GridSize, StyleFlags, TerminalCell, TerminalColor,
23            TerminalSnapshot, TerminalStyle,
24        },
25        surface::{SurfaceInfo, SurfaceUpdate, TerminalSurface},
26    };
27}