feat: rename comfy table

This commit is contained in:
2025-01-06 23:55:15 +08:00
parent 744b16af6c
commit 10672a86b1
5 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
use comfy_table::Table;
fn main() {
let mut table = Table::new();
table
.set_header(vec!["Header1", "Header2", "Header3"])
.add_row(vec![
"This is a text",
"This is another text",
"This is the third text",
])
.add_row(vec![
"This is another text",
"Now\nadd some\nmulti line stuff",
"This is awesome",
]);
println!("{}", table);
}