Skip to content

Commit

Permalink
Merge pull request #680 from Tyriar/set_row_height_explicitly
Browse files Browse the repository at this point in the history
Set row height when char size is changed
  • Loading branch information
Tyriar authored Jun 10, 2017
2 parents a889fef + 0950369 commit c33814a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/xterm.js
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,8 @@ Terminal.loadAddon = function(addon, callback) {
Terminal.prototype.updateCharSizeStyles = function() {
this.charSizeStyleElement.textContent =
`.xterm-wide-char{width:${this.charMeasure.width * 2}px;}` +
`.xterm-normal-char{width:${this.charMeasure.width}px;}`;
`.xterm-normal-char{width:${this.charMeasure.width}px;}` +
`.xterm-rows > div{height:${this.charMeasure.height}px;}`;
}

/**
Expand Down

0 comments on commit c33814a

Please sign in to comment.