-
Notifications
You must be signed in to change notification settings - Fork 513
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve roll_text from text_roll lib (#391)
* add new args 4 & 5, "fill_mode" and "repeat_sep" * construct new repeat variable * use length of repeat variable for offset calculation in case of fill_mode=repeat * use repeat variable to fill free space * remove byte calculation section, as real used "space" depends on font and leads to incorrect behaviour on some characters (e.g. french accent chars) * smaller cleanup to comply with shellcheck * use new mode as default in now_playing segment (but we don't change the default of the trim method) fix #390
- Loading branch information
Showing
2 changed files
with
45 additions
and
24 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