[root]/ src
/ config.zig
1.1KB
// compile-time config
pub const font_size = 25.0;
pub const bh: u16 = 60;
pub const max_text_len = 256;
pub const max_commands = 4096;
pub const command_buffer_size = 64 * 1024;
pub const font = "monospace";
pub const prompt = "$";
pub const colors = struct {
const black = [3]f64{ 0.0, 0.0, 0.0 };
const blue = [3]f64{ 0.0, 0.0, 0.67 };
const green = [3]f64{ 0.0, 0.67, 0.0 };
const cyan = [3]f64{ 0.0, 0.67, 0.67 };
const red = [3]f64{ 0.67, 0.0, 0.0 };
const magenta = [3]f64{ 0.67, 0.0, 0.67 };
const brown = [3]f64{ 0.67, 0.33, 0.0 };
const light_gray = [3]f64{ 0.75, 0.75, 0.75 };
const dark_gray = [3]f64{ 0.5, 0.5, 0.5 };
const light_blue = [3]f64{ 0.33, 0.33, 1.0 };
const light_green = [3]f64{ 0.33, 1.0, 0.33 };
const light_cyan = [3]f64{ 0.33, 1.0, 1.0 };
const light_red = [3]f64{ 1.0, 0.33, 0.33 };
const light_magenta = [3]f64{ 1.0, 0.33, 1.0 };
const yellow = [3]f64{ 1.0, 1.0, 0.33 };
const white = [3]f64{ 1.0, 1.0, 1.0 };
pub const background = black;
pub const foreground = magenta;
pub const selected = light_red;
pub const ghost = dark_gray;
};