use std::fmt::Write; use console::{colors_enabled, set_colors_enabled, style, Style}; use mlua::prelude::*; use once_cell::sync::Lazy; use crate::lua::task::TaskReference; const MAX_FORMAT_DEPTH: usize = 4; const INDENT: &str = " "; pub const STYLE_RESET_STR: &str = "\x1b[0m"; // Colors pub static COLOR_BLACK: Lazy