Adds --columns for Print using custom width #13

This commit is contained in:
Sharif Haason committed 2022-07-12 11:39:24 -04:00
1 parent 55cf7b034c
commit 734365723b
4 files changed
+114 -93

No files matched your search

+2
View File
@@ -16,6 +16,7 @@ fn main() {
let show_position_panel = true;
let use_squeezing = false;
let border_style = BorderStyle::Unicode;
let columns = 2;
let mut printer = Printer::new(
&mut handle,
@@ -24,6 +25,7 @@ fn main() {
show_position_panel,
border_style,
use_squeezing,
columns,
);
printer.print_all(&input[..]).unwrap();
}