blob: bdd3ba3466ae106b90dd8eb3b4032916089ba646 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// bytes that make up a `.ttf` file
pub const FONT: &[u8] = std::include_bytes!("../fonts/Miracode.ttf");
// model parameters
// standard for vte: 80, 24, and whatever happens to work on your screen
pub const MODEL_WIDTH: usize = 80;
pub const MODEL_HEIGHT: usize = 24;
pub const MODEL_SCALE: f32 = 0.01;
// window parameters
pub const WINDOW_TITLE: &str = "rustty";
pub const WINDOW_TARGET_FPS: usize = 60;
// input buffer size
pub const INPUT_BUFFER_SIZE: usize = 2048;
// environment variables
pub const ENV_TERM: &str = "vt100";
pub const ENV_PATH: &str = "/run/current-system/sw/bin";
|