Mac: altIsMeta support (#2623)

* Reimplement altIsMeta supprt with new xterm library

* Update xterm fork to use xtermjs/xterm.js@616958e

* Use node 8 in travis, needed by source-map@0.7.0
This commit is contained in:
Saad Malik 2018-01-21 01:19:27 -08:00 committed by CHaBou
parent dc421ac51f
commit 24587b2780
3 changed files with 3 additions and 2 deletions

View file

@ -6,7 +6,7 @@ language: node_js
matrix: matrix:
include: include:
- os: linux - os: linux
node_js: 7.9.0 node_js: 8.0.0
env: CC=clang CXX=clang++ npm_config_clang=1 env: CC=clang CXX=clang++ npm_config_clang=1
compiler: clang compiler: clang

View file

@ -21,6 +21,7 @@ const getTermOptions = props => {
// Set a background color only if it is opaque // Set a background color only if it is opaque
const backgroundColor = Color(props.backgroundColor).alpha() < 1 ? 'transparent' : props.backgroundColor; const backgroundColor = Color(props.backgroundColor).alpha() < 1 ? 'transparent' : props.backgroundColor;
return { return {
macOptionIsMeta: props.modifierKeys.altIsMeta,
cursorStyle: CURSOR_STYLES[props.cursorShape], cursorStyle: CURSOR_STYLES[props.cursorShape],
cursorBlink: props.cursorBlink, cursorBlink: props.cursorBlink,
fontFamily: props.fontFamily, fontFamily: props.fontFamily,

View file

@ -189,7 +189,7 @@
"semver": "5.4.1", "semver": "5.4.1",
"shebang-loader": "false0.0.1", "shebang-loader": "false0.0.1",
"uuid": "3.1.0", "uuid": "3.1.0",
"xterm": "chabou/xterm.js#7b741fe" "xterm": "chabou/xterm.js#95178dd"
}, },
"devDependencies": { "devDependencies": {
"ava": "0.24.0", "ava": "0.24.0",