Skip to content

Commit

Permalink
Merge pull request #1936 from Tyriar/1935_remove_font_family
Browse files Browse the repository at this point in the history
Remove font-family from .css file
  • Loading branch information
Tyriar committed Feb 11, 2019
2 parents abf6a9f + c934200 commit 857ae4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/CompositionHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,8 @@ export class CompositionHelper {
this._compositionView.style.top = cursorTop + 'px';
this._compositionView.style.height = cellHeight + 'px';
this._compositionView.style.lineHeight = cellHeight + 'px';
this._compositionView.style.fontFamily = this._terminal.options.fontFamily;
this._compositionView.style.fontSize = this._terminal.options.fontSize + 'px';
// Sync the textarea to the exact position of the composition view so the IME knows where the
// text is.
const compositionViewBounds = this._compositionView.getBoundingClientRect();
Expand Down
1 change: 0 additions & 1 deletion src/xterm.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
*/

.xterm {
font-family: courier-new, courier, monospace;
font-feature-settings: "liga" 0;
position: relative;
user-select: none;
Expand Down

0 comments on commit 857ae4b

Please sign in to comment.