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 #1773 - drawBoldTextInBrightColors is not taken into account with DOM renderer #1961

Conversation

bmf-ribeiro
Copy link
Contributor

Fix #1773 by taking into account the terminal options

@@ -17,6 +17,7 @@ export const CURSOR_STYLE_UNDERLINE_CLASS = 'xterm-cursor-underline';

export class DomRendererRowFactory {
constructor(
private _terminal: ITerminal,
Copy link
Member

Choose a reason for hiding this comment

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

I've been slowly trying to break this pattern of passing ITerminal around everywhere (#1627), I think passing in ITerminalOptions here would be preferable as we never reassign that on Terminal.

@bmf-ribeiro
Copy link
Contributor Author

bmf-ribeiro commented Mar 8, 2019 via email

@Tyriar
Copy link
Member

Tyriar commented Mar 8, 2019

Sounds good, thanks a bunch as always 😃

@Tyriar Tyriar added this to the 3.13.0 milestone Mar 8, 2019
@bmf-ribeiro
Copy link
Contributor Author

Circular dependency removed, and verified that it still works!

Copy link
Member

@Tyriar Tyriar left a comment

Choose a reason for hiding this comment

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

Thanks for fixing it up, works great

@Tyriar Tyriar merged commit 1451bcb into xtermjs:master Mar 29, 2019
@Tyriar Tyriar mentioned this pull request May 10, 2019
10 tasks
@bmf-ribeiro bmf-ribeiro deleted the 1773-take-drawBoldTextInBrightColors-into-account branch November 27, 2019 17:49
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.

2 participants