Skip to content

Ensure status log messages are printed with normal color#884

Merged
zimbatm merged 2 commits intodirenv:masterfrom
tmatilai:log_status_normal_color
May 17, 2022
Merged

Ensure status log messages are printed with normal color#884
zimbatm merged 2 commits intodirenv:masterfrom
tmatilai:log_status_normal_color

Conversation

@tmatilai
Copy link
Copy Markdown
Contributor

@tmatilai tmatilai commented Jan 14, 2022

Reset color for normal status messages.

This might helps in a case when an evaluated command has not cleaned up after itself. But also makes it possible to add support for coloring all stderr output (#885).

While at it, also set variables in log_error() only if needed

@zimbatm zimbatm force-pushed the log_status_normal_color branch from a6868a8 to 22923a8 Compare May 17, 2022 12:12
@zimbatm
Copy link
Copy Markdown
Member

zimbatm commented May 17, 2022

Thanks, I just rebased the PR to use escape codes instead so it doesn't depend on curses to function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants