Skip to content

Commit 4b8df09

Browse files
committed
bin(core): for debug
1 parent d6069ea commit 4b8df09

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

zix-core/src/bin/grid.rs

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
use zix_core::grid;
2+
use colored::Colorize;
3+
4+
fn main() {
5+
let output = grid::out::<String>(
6+
vec![
7+
" gagadfas".red().to_string(),
8+
"gaga".red().to_string(),
9+
"gaga".red().to_string(),
10+
"gaga".red().to_string(),
11+
" gaga".red().to_string(),
12+
"gaga".red().to_string(),
13+
" gaga".red().to_string(),
14+
"gagadfsa".red().to_string(),
15+
" gaga".red().to_string(),
16+
"gaga".red().to_string(),
17+
" gaga".red().to_string(),
18+
"gaga".red().to_string(),
19+
"gaga".red().to_string(),
20+
"gdsafas".red().to_string(),
21+
"gaga".red().to_string(),
22+
"gads".red().to_string(),
23+
"gaga".red().to_string(),
24+
"gafdsafdsaga".red().to_string(),
25+
"gaga".red().to_string(),
26+
"gaga".red().to_string(),
27+
"gaga".red().to_string(),
28+
"gfdsafdsaaga".red().to_string(),
29+
"gogo".blue().to_string(),
30+
"gugu".blue().to_string()
31+
]
32+
);
33+
34+
println!("{}", output)
35+
36+
}

0 commit comments

Comments
 (0)