///|
#derive(Debug, Eq)
pub(all) enum Format {
Plain
Vt
Html
}
///|
#derive(Debug, Eq)
pub(all) struct TerminalOptions {
cols : Int32
rows : Int32
max_scrollback : Int32
}
///|
pub fn TerminalOptions::default() -> TerminalOptions {
{ cols: 80, rows: 24, max_scrollback: 1000, }
}
///|
#derive(Debug, Eq)
pub(all) struct FormatOptions {
format : Format
trim : Bool
unwrap : Bool
}
///|
pub fn FormatOptions::default() -> FormatOptions {
{ format: Plain, trim: true, unwrap: false, }
}
///|
#derive(Debug, Eq)
pub(all) struct RuntimeConfig {
native_library_path : String?
wasm_module_path : String?
}
///|
pub fn RuntimeConfig::default() -> RuntimeConfig {
{ native_library_path: None, wasm_module_path: None, }
}
///|
#derive(Debug, Eq)
pub(all) struct BuildInfo {
simd : Bool
kitty_graphics : Bool
tmux_control_mode : Bool
version : String
}