aboutsummaryrefslogtreecommitdiff
path: root/src/fancyfmt.rs
AgeCommit message (Collapse)Author
2021-11-12More colors!Daniel Schadt
The user_choice() function was a bit weird because it needed a "formatted" item for every item to select (not using the Display of the item), but it also didn't support colored output. This change fixes that by introducing a new trait that does colored output and by making user_choice() use that trait to output the lines.