Skip to content

Conversation

@tecosaur
Copy link
Member

The way that bold/dim work in TTYs is a little weird. They're two channels of information (text can be bold and dim, just one, or either), but also sort of one channel of information (weight). Dim can also be a light font weight, which is how we frame/interpret it here. To avoid unexpected behaviour, we clear the bold/dim status before re-setting it when changing between the two.

The way that bold/dim work in TTYs is a little weird. They're two
channels of information (text can be bold and dim, just one, or either),
but also sort of one channel of information (weight). Dim can also be a
light font weight, which is how we frame/interpret it here. To avoid
unexpected behaviour, we clear the bold/dim status before re-setting it
when changing between the two.
@tecosaur tecosaur force-pushed the fix-bold-dim-print branch from 35a2607 to 04abf3e Compare April 23, 2025 15:29
@tecosaur tecosaur merged commit 04abf3e into main Apr 23, 2025
4 of 5 checks passed
@tecosaur tecosaur deleted the fix-bold-dim-print branch April 23, 2025 15:36
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