mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
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:
parent
dc421ac51f
commit
24587b2780
3 changed files with 3 additions and 2 deletions
|
|
@ -6,7 +6,7 @@ language: node_js
|
|||
matrix:
|
||||
include:
|
||||
- os: linux
|
||||
node_js: 7.9.0
|
||||
node_js: 8.0.0
|
||||
env: CC=clang CXX=clang++ npm_config_clang=1
|
||||
compiler: clang
|
||||
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ const getTermOptions = props => {
|
|||
// Set a background color only if it is opaque
|
||||
const backgroundColor = Color(props.backgroundColor).alpha() < 1 ? 'transparent' : props.backgroundColor;
|
||||
return {
|
||||
macOptionIsMeta: props.modifierKeys.altIsMeta,
|
||||
cursorStyle: CURSOR_STYLES[props.cursorShape],
|
||||
cursorBlink: props.cursorBlink,
|
||||
fontFamily: props.fontFamily,
|
||||
|
|
|
|||
|
|
@ -189,7 +189,7 @@
|
|||
"semver": "5.4.1",
|
||||
"shebang-loader": "false0.0.1",
|
||||
"uuid": "3.1.0",
|
||||
"xterm": "chabou/xterm.js#7b741fe"
|
||||
"xterm": "chabou/xterm.js#95178dd"
|
||||
},
|
||||
"devDependencies": {
|
||||
"ava": "0.24.0",
|
||||
|
|
|
|||
Loading…
Reference in a new issue