Fills your screen with a single character - used for testing and debugging.
Make sure ccanvas-solid is installed. For example using the cargo install command.
cargo install --git https://github.com/ccanvas/ccanvas-solidTo add it to your program, simply load it in.
client
.spawn(
"solid".to_string(),
"ccanvas-solid".to_string(),
Vec::new()
)
.await;By default it will use # as the fill character, to use a custom fill character, use the CHAR environment variable as so.
client
.spawn_with_env(
"solid".to_string(),
"ccanvas-solid".to_string(),
Vec::new(),
BTreeMap::from([("CHAR".to_string(), "A".to_string())]),
)
.await;