-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(printer): ✨ optimize printRow function to adjust column spacing (#…
…186) * feat(printer): ✨ optimize printRow function to adjust column spacing - Updated the `printRow` function to ensure each column's longest element is followed by a specified number of spaces. - The number of spaces between columns is adjustable via a `space` parameter. - Calculated the maximum width for each column dynamically to ensure proper alignment of elements. - Determined the optimal number of columns based on the terminal width to maximize the use of available space in each row. - This change improves the visual alignment of output in narrow terminals and allows for better utilization of terminal width. * chore(justfile): add boostrap cmd * update tests
- Loading branch information
1 parent
a995425
commit cce3ab4
Showing
4 changed files
with
90 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule tests
updated
18 files
+8 −15 | #.stdout | |
+10 −17 | R.stdout | |
+3 −10 | basic.stdout | |
+5 −12 | basic_reverse.stdout | |
+10 −15 | checksum_md5.stdout | |
+30 −30 | checksum_sha256.stdout | |
+8 −15 | classic.stdout | |
+1 −1 | dir.stdout | |
+8 −15 | file-type.stdout | |
+8 −15 | file.stdout | |
+8 −15 | ignore-backups.stdout | |
+16 −30 | multipath.stdout | |
+8 −15 | octal-perm.stdout | |
+8 −15 | quote-name.stdout | |
+8 −15 | recursive-size.stdout | |
+8 −15 | sizesort.stdout | |
+4 −11 | statistic.stdout | |
+8 −15 | versionsort.stdout |