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
// Copyright (c) 2023-present, Raphael Amorim.
//
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
//! Rio's embeddable terminal core: the VT state machine (`crosswords`),
//! ANSI/escape parser (`ansi` + `performer`), grid, selection, search,
//! PTY-facing event model, and the color palette. No rendering, GPU, or
//! font-shaping dependencies — pair it with a renderer of your choice
//! (Rio uses `sugarloaf`) or drive it purely from the pulled grid state.
//!
//! `rio-backend` builds on this crate and re-exports every module at the
//! same path, so it stays the home of the user-facing config and the
//! sugarloaf renderer glue while this crate carries the reusable core.
// avoid double dep requirement
pub use corcovado;
pub use teletypewriter;
// The app-level `RioErrorType::FontsNotFound` variant references a
// sugarloaf font type; expose the crate under this path (as rio-backend
// did) so that renderer-gated code resolves `crate::sugarloaf`.
pub use sugarloaf;