@xterm/xterm 5.5.0-beta.11 → 5.5.0-beta.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@xterm/xterm",
3
3
  "description": "Full xterm terminal, in your browser",
4
- "version": "5.5.0-beta.11",
4
+ "version": "5.5.0-beta.12",
5
5
  "main": "lib/xterm.js",
6
6
  "style": "css/xterm.css",
7
7
  "types": "typings/xterm.d.ts",
@@ -51,8 +51,10 @@ export function allowRescaling(codepoint: number | undefined, width: number, gly
51
51
  // Glyph exceeds cell bounds, add 50% to avoid hurting readability by rescaling glyphs that
52
52
  // barely overlap
53
53
  glyphSizeX > Math.ceil(deviceCellWidth * 1.5) &&
54
+ // Never rescale ascii
55
+ codepoint !== undefined && codepoint > 0xFF &&
54
56
  // Never rescale emoji
55
- codepoint !== undefined && !isEmoji(codepoint) &&
57
+ !isEmoji(codepoint) &&
56
58
  // Never rescale powerline or nerd fonts
57
59
  !isPowerlineGlyph(codepoint) && !isNerdFontGlyph(codepoint)
58
60
  );