setting xterm-256color as default terminal
previously vt100 would be assumed, this caused some programs to not properly receive mouse events or display full color.
This commit is contained in:
parent
43c290de2a
commit
70e36daa55
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -76,7 +76,7 @@ io.on('connection', function(socket) {
|
|||
socket.emit('status', 'SSH CONNECTION ESTABLISHED');
|
||||
socket.emit('statusBackground', 'green');
|
||||
socket.emit('allowreplay', config.options.allowreplay)
|
||||
conn.shell(function(err, stream) {
|
||||
conn.shell({ term: 'xterm-256color' },function(err, stream) {
|
||||
if (err) {
|
||||
console.log (err.message);
|
||||
myError = myError + err.message
|
||||
|
|
Loading…
Reference in a new issue