diff options
author | Daniel Schadt <kingdread@gmx.de> | 2021-11-12 01:38:45 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2021-11-12 01:38:45 +0100 |
commit | 9ce37a975ad4889e070ae5705b6750a4b33d2442 (patch) | |
tree | 2b4237835b1c1b54e45ca507832f0dcf4e621de4 /src/lib.rs | |
parent | 0217b03f3680a439febc98f889df9cf6550cfa0b (diff) | |
download | modderbaas-9ce37a975ad4889e070ae5705b6750a4b33d2442.tar.gz modderbaas-9ce37a975ad4889e070ae5705b6750a4b33d2442.tar.bz2 modderbaas-9ce37a975ad4889e070ae5705b6750a4b33d2442.zip |
More colors!
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.
Diffstat (limited to 'src/lib.rs')
0 files changed, 0 insertions, 0 deletions