Converts strength into a 4-character-wide graphical representation of
strength suitable for printing to stdout.
Previous versions used to take a guess at the terminal type and possibly
return a wide UTF-8 encoded string. Now it always returns a 7-bit
clean strings of one to 0 to 4 asterisks. Users that actually need
the functionality are encouraged to make their implementations instead.
Parameters
strength: number
the access point strength, from 0 to 100
Returns string
the graphical representation of the access point strength
Converts
strengthinto a 4-character-wide graphical representation of strength suitable for printing to stdout.Previous versions used to take a guess at the terminal type and possibly return a wide UTF-8 encoded string. Now it always returns a 7-bit clean strings of one to 0 to 4 asterisks. Users that actually need the functionality are encouraged to make their implementations instead.