Skip to content

Commit

Permalink
bin(core): for debug
Browse files Browse the repository at this point in the history
  • Loading branch information
arkeasz committed Feb 24, 2025
1 parent d6069ea commit 4b8df09
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions zix-core/src/bin/grid.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
use zix_core::grid;
use colored::Colorize;

fn main() {
let output = grid::out::<String>(
vec![
" gagadfas".red().to_string(),
"gaga".red().to_string(),
"gaga".red().to_string(),
"gaga".red().to_string(),
" gaga".red().to_string(),
"gaga".red().to_string(),
" gaga".red().to_string(),
"gagadfsa".red().to_string(),
" gaga".red().to_string(),
"gaga".red().to_string(),
" gaga".red().to_string(),
"gaga".red().to_string(),
"gaga".red().to_string(),
"gdsafas".red().to_string(),
"gaga".red().to_string(),
"gads".red().to_string(),
"gaga".red().to_string(),
"gafdsafdsaga".red().to_string(),
"gaga".red().to_string(),
"gaga".red().to_string(),
"gaga".red().to_string(),
"gfdsafdsaaga".red().to_string(),
"gogo".blue().to_string(),
"gugu".blue().to_string()
]
);

println!("{}", output)

}

0 comments on commit 4b8df09

Please sign in to comment.