browser title now changes with xterm escape sequences. see
http://tldp.org/HOWTO/Xterm-Title-3.html
This commit is contained in:
parent
cd8b829675
commit
3a700eedf1
3 changed files with 8 additions and 1 deletions
|
@ -1,4 +1,7 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
## [0.2.3] 2018-02-TBD
|
||||||
|
- Browser title window now changes with xterm escape sequences (see http://tldp.org/HOWTO/Xterm-Title-3.html)
|
||||||
|
|
||||||
## [0.2.0] 2018-02-10
|
## [0.2.0] 2018-02-10
|
||||||
Mostly client (browser) related changes in this release
|
Mostly client (browser) related changes in this release
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -143,6 +143,10 @@ socket.on('error', function (err) {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
term.on('title', function (title) {
|
||||||
|
document.title = title
|
||||||
|
})
|
||||||
|
|
||||||
// draw/re-draw menu and reattach listeners
|
// draw/re-draw menu and reattach listeners
|
||||||
// when dom is changed, listeners are abandonded
|
// when dom is changed, listeners are abandonded
|
||||||
function drawMenu (data) {
|
function drawMenu (data) {
|
||||||
|
|
Loading…
Reference in a new issue