mirror of
https://github.com/yudai/gotty.git
synced 2025-09-21 21:40:49 +02:00
Log received hterm preferences in console
This commit is contained in:
parent
b821754e8a
commit
678258ecf1
3 changed files with 7 additions and 6 deletions
|
@ -55,6 +55,7 @@
|
|||
case '2':
|
||||
preferences = JSON.parse(data);
|
||||
Object.keys(preferences).forEach(function(key) {
|
||||
console.log("Setting " + key + ": " + preferences[key]);
|
||||
term.getPrefs().set(key, preferences[key]);
|
||||
});
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue