From 7a04740d7cb7ddad6cead97e8ff7c63ca97b735d Mon Sep 17 00:00:00 2001 From: Simon Howe Date: Mon, 2 Jul 2018 14:54:03 +0200 Subject: [PATCH] Fixes monospace font overlapping in terminal+linux - Also fixes actually using Roboto-Mono, xterm.js now only accepts fontFamily customization via the JS api. (uses `` correctly: + // https://github.com/xtermjs/xterm.js/issues/1170 + // `theme.fontFamilies.monospace` doesn't provide many options so we add + // some here that are very common. The alternative _might_ be to bundle Roboto-Mono + // + fontFamily: '"Roboto Mono", "Courier New", "Courier", monospace', + // `theme.fontSizes.tiny` (`"12px"`) is a string and we need an int here. + fontSize: 12, convertEol: !this.props.pipe.get('raw'), cursorBlink: true, scrollback: 10000,