Set font family and size

This commit is contained in:
Daniel Imms
2018-05-15 11:29:51 -07:00
parent 6024e7c5fe
commit 2b4c5adb3c
+2
View File
@@ -136,6 +136,8 @@ export class DomRenderer extends EventEmitter implements IRenderer {
`${this._terminalSelector} .${ROW_CONTAINER_CLASS} {` +
` color: ${this.colorManager.colors.foreground.css};` +
` background-color: ${this.colorManager.colors.background.css};` +
` font-family: ${this._terminal.getOption('fontFamily')};` +
` font-size: ${this._terminal.getOption('fontSize')}px;` +
`}`;
// Text styles
styles +=