Commit Graph

6 Commits

Author SHA1 Message Date
Matias Barcenas 2687ecaea6 Fixed a couple of issues (outdated) with FormatUtils. 2017-08-14 20:28:37 -05:00
Matias Barcenas bed09e813f Fixed FormatUtils bug caused by outdated replacement. 2017-08-14 18:23:50 -05:00
Matias Barcenas 0a2ce6fcd1 Rewrote FormatUtils for performance & fixed bugs.
Rewrote FormatUtils to correct bad performance (sluggish on slow systems).
Changed FormatUtils API to accomodate for new performance enhancements.
Added a new literal to FormatUtils's formats, the double asterisk (**).
FormatUtils will now replace all asterisks, double asterisk (**).

Fixed an issue caused by long ESSIDs and long interface driver descriptors.
2017-08-14 17:13:47 -05:00
Matias Barcenas b154c26ae8 Updated FormatUtils & applied to portal selection. 2017-08-13 04:24:18 -05:00
Matias Barcenas a0ac4510e0 Rewrote scanner results auto expansion with FormatUtils. 2017-08-12 17:24:14 -05:00
Matias Barcenas ad89264442 Implemented FormatUtils & used for startup banner.
The new horizontal utility utilizes the * token for centering.
* Every field with the token %*s will autofill the remaining space.
* Field tokens may be any valid format specifier, plus the asterisk.
* > Example: printf "%*s %.*s %*d" "col1" "col2" "3.0" (notice asterisk)
* > Example: printf "%*b %s" "\e[1;33mThis is red text\e[0m" "this is not"

Use the new utilities to center the startup banner and other messages.
2017-08-12 15:43:39 -05:00