From 4b8df0950b2c3c4e85bc68b4c6dea63be3e898b9 Mon Sep 17 00:00:00 2001 From: arki Date: Sun, 23 Feb 2025 22:12:19 -0500 Subject: [PATCH] bin(core): for debug --- zix-core/src/bin/grid.rs | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 zix-core/src/bin/grid.rs diff --git a/zix-core/src/bin/grid.rs b/zix-core/src/bin/grid.rs new file mode 100644 index 0000000..356c808 --- /dev/null +++ b/zix-core/src/bin/grid.rs @@ -0,0 +1,36 @@ +use zix_core::grid; +use colored::Colorize; + +fn main() { + let output = grid::out::( + 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) + +}