Commit Graph

10 Commits

Author SHA1 Message Date
Matias Barcenas 3271d96097 Fixed an auto-size bug caused by remaining space.
This issue was noticable when auto-size failed to fit all spaces to tokens.
Auto-sizing will no longer ignore remaining space and will auto-fill it.
2017-12-26 20:47:24 -06:00
deltaxflux dd168237d9 Fix default permissions 2017-08-22 22:36:29 +02:00
Matias Barcenas 39afb4c8b7 Added anti-redefinition headers to library scripts. 2017-08-22 14:23:08 -05:00
Matias Barcenas f631680ed4 Created an optimized solution for the last patch. 2017-08-14 21:54:31 -05:00
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