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

Allow changing mouse enabling while running #58

Merged
merged 2 commits into from
Aug 18, 2024

Conversation

stefanhaller
Copy link
Collaborator

Preparations for jesseduffield/lazygit#3787, reviewed as part of that PR.

…clude bold

The code was written with the assumption that the active border color includes
the bold attribute, which is true for the default theme color; however, when
changing the scheme to a color that doesn't include bold, it would result in
many wrong attribute bits being set.

Fix this by using bitwise operations instead of arithmetic operations to clear
the bold bit.
@stefanhaller stefanhaller merged commit 49cc572 into master Aug 18, 2024
1 check passed
@stefanhaller stefanhaller deleted the allow-changing-mouse-enabling-while-running branch August 18, 2024 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant