Log received hterm preferences in console
This commit is contained in:
parent
b821754e8a
commit
678258ecf1
2
.gotty
2
.gotty
|
@ -46,7 +46,7 @@
|
||||||
// reconnec_ttime = false
|
// reconnec_ttime = false
|
||||||
|
|
||||||
// [bool] Accept only one client and exit gotty once the client exits
|
// [bool] Accept only one client and exit gotty once the client exits
|
||||||
// Once = false
|
// once = false
|
||||||
|
|
||||||
// [object] Client terminal (hterm) preferences
|
// [object] Client terminal (hterm) preferences
|
||||||
// Examples below are some of commonly used options.
|
// Examples below are some of commonly used options.
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -55,6 +55,7 @@
|
||||||
case '2':
|
case '2':
|
||||||
preferences = JSON.parse(data);
|
preferences = JSON.parse(data);
|
||||||
Object.keys(preferences).forEach(function(key) {
|
Object.keys(preferences).forEach(function(key) {
|
||||||
|
console.log("Setting " + key + ": " + preferences[key]);
|
||||||
term.getPrefs().set(key, preferences[key]);
|
term.getPrefs().set(key, preferences[key]);
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue