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

Add more emphases #2303

Closed
wants to merge 1 commit into from
Closed

Add more emphases #2303

wants to merge 1 commit into from

Conversation

data-man
Copy link

Closes #2302.

@@ -399,7 +407,7 @@ template <typename Char> struct ansi_color_escape {
return;
}

for (int i = 0; i < 7; i++) {
for (int i = 0; i < 8; i++) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand the buffer logic completely, but you've increased the buffer from a 3 * 4 to a 3 * 8 yet change this loop index from 7 to 8? It might be a good idea to introduce some constants...

Copy link
Author

@data-man data-man May 21, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to introduce some constants

Count of emphasis enum members?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll continue tomorrow. Need to sleep. :)

@data-man data-man marked this pull request as draft May 21, 2021 18:37
@data-man
Copy link
Author

Sorry, my family tested positive for COVID so I have other concerns now.

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.

Add more emphases
2 participants