Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make output messages more user friendly and informative #1

Open
reaganmcf opened this issue Apr 8, 2021 · 1 comment · May be fixed by #39
Open

Make output messages more user friendly and informative #1

reaganmcf opened this issue Apr 8, 2021 · 1 comment · May be fixed by #39
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@reaganmcf
Copy link
Owner

reaganmcf commented Apr 8, 2021

Make stdout easier to read and friendly. Some ideas:

  • When exec command succeeds, some sort of Successfully ran. Monitoring for file changes... message to stdout in some color
  • When lightmon starts, some sort green(?) message showing it started
@reaganmcf reaganmcf added the enhancement New feature or request label Apr 8, 2021
@reaganmcf reaganmcf added this to the Version 0.2.0 milestone Apr 8, 2021
@reaganmcf reaganmcf added the good first issue Good for newcomers label Apr 13, 2021
@reaganmcf reaganmcf linked a pull request Jul 20, 2021 that will close this issue
@alayshahh
Copy link
Collaborator

alayshahh commented Jan 12, 2022

I remember one issue we were having was trying to handle different colored outputs for different scenarios. We experimented withe ANSII escape codes but it didn't really work. I came across this comment thread here which might help if we decide to look at this again or just as reference for the future

In reply to a question about changing colors for output

A common standard for this are the ANSI escape codes. You could e.g. use a crate such as ansi-parser to parse them in your print function. Then you can use a crate such as owo-colors to stylize your println! invocations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants