-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Fix #1773 - drawBoldTextInBrightColors is not taken into account with DOM renderer #1961
Conversation
@@ -17,6 +17,7 @@ export const CURSOR_STYLE_UNDERLINE_CLASS = 'xterm-cursor-underline'; | |||
|
|||
export class DomRendererRowFactory { | |||
constructor( | |||
private _terminal: ITerminal, |
There was a problem hiding this comment.
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
.
Makes sense, I'll make the changes Sunday when I'm back home ??
Get Outlook for Android<https://aka.ms/ghei36>
________________________________
From: Daniel Imms <notifications@github.com>
Sent: Friday, March 8, 2019 5:07:05 PM
To: xtermjs/xterm.js
Cc: Bruno Ribeiro; Author
Subject: Re: [xtermjs/xterm.js] Fix #1773 - drawBoldTextInBrightColors is not taken into account with DOM renderer (#1961)
@Tyriar requested changes on this pull request.
________________________________
In src/renderer/dom/DomRendererRowFactory.ts<#1961 (comment)>:
@@ -17,6 +17,7 @@ export const CURSOR_STYLE_UNDERLINE_CLASS = 'xterm-cursor-underline';
export class DomRendererRowFactory {
constructor(
+ private _terminal: ITerminal,
I've been slowly trying to break this pattern of passing ITerminal around everywhere (#1627<#1627>), I think passing in ITerminalOptions here would be preferable as we never reassign that on Terminal.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#1961 (review)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/APWm2wuxMP3Xz7Pm9iQaho61EhE8RlAbks5vUpi5gaJpZM4bkJzn>.
|
Sounds good, thanks a bunch as always 😃 |
Circular dependency removed, and verified that it still works! |
There was a problem hiding this 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
Fix #1773 by taking into account the terminal options