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

fix!: output race condition #146

Open
wants to merge 1 commit into
base: cache-profile
Choose a base branch
from
Open

fix!: output race condition #146

wants to merge 1 commit into from

Commits on Jul 28, 2023

  1. fix!: output race condition

    Use a mutex to guard setting/getting the color profile and fg/bg colors.
    Use `SetColorProfile` to change the output color profile.
    Use pointer receiver since we have a lock in the struct.
    
    Fixes: charmbracelet/lipgloss#210
    Fixes: #145
    aymanbagabas committed Jul 28, 2023
    Configuration menu
    Copy the full SHA
    20975ae View commit details
    Browse the repository at this point in the history