I usually have branch names that might include numbers, hyphens and/or underscores.
Here is one example of branch name wrongly displayed:
# Before applying this fix:
[ 6.07pm]0 ts@ts-kubuntu: + [ts_add_sk_l1]↓2≠1 ~/git/romcal/romcal_ts_add_sk_l10n
# After applying this fix:
[ 6.07pm]0 ts@ts-kubuntu: [ts_add_sk_l10n]↓2≠1 ~/git/romcal/romcal_ts_add_sk_l10n
Thanks for the patch.
I’m glad I could help. ;)