update xterm and ssh2

- Updated xterm.js to 2.8.1 from 2.6.0
  - See https://github.com/sourcelair/xterm.js/releases/tag/2.8.1
  - See https://github.com/sourcelair/xterm.js/releases/tag/2.8.0
  - See https://github.com/sourcelair/xterm.js/releases/tag/2.7.0
- Updated ssh2 to 0.5.5 to keep current, no fixes impacting WebSSH2
  - ssh-streams to 0.1.19 from 0.1.16
This commit is contained in:
billchurch 2017-07-31 10:20:58 -05:00
parent f67b91a415
commit 1683c8ad35
10 changed files with 1959 additions and 425 deletions

View file

@ -1,4 +1,13 @@
# Change Log # Change Log
## [0.1.2] 2017-07-31
### Changed
- Updated xterm.js to 2.8.1 from 2.6.0
- See https://github.com/sourcelair/xterm.js/releases/tag/2.8.1
- See https://github.com/sourcelair/xterm.js/releases/tag/2.8.0
- See https://github.com/sourcelair/xterm.js/releases/tag/2.7.0
- Updated ssh2 to 0.5.5 to keep current, no fixes impacting WebSSH2
- ssh-streams to 0.1.19 from 0.1.16
## [0.1.1] 2017-06-03 ## [0.1.1] 2017-06-03
### Added ### Added
- `serverlog.client` and `serverlog.server` options added to `config.json` to enable logging of client commands to server log (only client portion implemented at this time) - `serverlog.client` and `serverlog.server` options added to `config.json` to enable logging of client commands to server log (only client portion implemented at this time)

View file

@ -1,6 +1,6 @@
{ {
"name": "WebSSH2", "name": "WebSSH2",
"version": "0.1.1", "version": "0.1.2",
"ignore": [ "ignore": [
".gitignore" ".gitignore"
], ],
@ -35,7 +35,7 @@
"morgan": "^1.8.2", "morgan": "^1.8.2",
"read-config": "^1.6.0", "read-config": "^1.6.0",
"socket.io": "^1.7.4", "socket.io": "^1.7.4",
"ssh2": "^0.5.4", "ssh2": "^0.5.5",
"validator": "^7.0.0" "validator": "^7.0.0"
}, },
"scripts": { "scripts": {
@ -43,7 +43,8 @@
"test": "snyk test", "test": "snyk test",
"watch": "nodemon index.js", "watch": "nodemon index.js",
"build": "grunt copy concat uglify", "build": "grunt copy concat uglify",
"standard": "standard --verbose | snazzy" "standard": "standard --verbose | snazzy",
"cleanmac": "find . -name '.DS_Store' -type f -delete"
}, },
"devDependencies": { "devDependencies": {
"bithound": "^1.7.0", "bithound": "^1.7.0",
@ -55,7 +56,7 @@
"snazzy": "^7.0.0", "snazzy": "^7.0.0",
"snyk": "^1.30.1", "snyk": "^1.30.1",
"standard": "^10.0.2", "standard": "^10.0.2",
"xterm": "^2.6.0" "xterm": "^2.8.1"
}, },
"standard": { "standard": {
"ignore": [ "ignore": [

View file

@ -41,6 +41,9 @@
font-family: courier-new, courier, monospace; font-family: courier-new, courier, monospace;
font-feature-settings: "liga" 0; font-feature-settings: "liga" 0;
position: relative; position: relative;
user-select: none;
-ms-user-select: none;
-webkit-user-select: none;
} }
.terminal.focus, .terminal.focus,
@ -153,7 +156,8 @@
overflow-y: scroll; overflow-y: scroll;
} }
.terminal .xterm-wide-char { .terminal .xterm-wide-char,
.terminal .xterm-normal-char {
display: inline-block; display: inline-block;
} }
@ -179,6 +183,25 @@
left: -9999em; left: -9999em;
} }
.terminal.enable-mouse-events {
/* When mouse events are enabled (eg. tmux), revert to the standard pointer cursor */
cursor: default;
}
.terminal .xterm-selection {
position: absolute;
top: 0;
left: 0;
z-index: 1;
opacity: 0.3;
pointer-events: none;
}
.terminal .xterm-selection div {
position: absolute;
background-color: #fff;
}
/* /*
* Determine default colors for xterm.js * Determine default colors for xterm.js
*/ */

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -166,6 +166,9 @@ a.toggleLog {
font-family: courier-new, courier, monospace; font-family: courier-new, courier, monospace;
font-feature-settings: "liga" 0; font-feature-settings: "liga" 0;
position: relative; position: relative;
user-select: none;
-ms-user-select: none;
-webkit-user-select: none;
} }
.terminal.focus, .terminal.focus,
@ -278,7 +281,8 @@ a.toggleLog {
overflow-y: scroll; overflow-y: scroll;
} }
.terminal .xterm-wide-char { .terminal .xterm-wide-char,
.terminal .xterm-normal-char {
display: inline-block; display: inline-block;
} }
@ -304,6 +308,25 @@ a.toggleLog {
left: -9999em; left: -9999em;
} }
.terminal.enable-mouse-events {
/* When mouse events are enabled (eg. tmux), revert to the standard pointer cursor */
cursor: default;
}
.terminal .xterm-selection {
position: absolute;
top: 0;
left: 0;
z-index: 1;
opacity: 0.3;
pointer-events: none;
}
.terminal .xterm-selection div {
position: absolute;
background-color: #fff;
}
/* /*
* Determine default colors for xterm.js * Determine default colors for xterm.js
*/ */

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long