Commit 678258ec by Iwasaki Yudai

Log received hterm preferences in console

1 parent b821754e
Showing with 2 additions and 1 deletions
......@@ -46,7 +46,7 @@
// reconnec_ttime = false
// [bool] Accept only one client and exit gotty once the client exits
// Once = false
// once = false
// [object] Client terminal (hterm) preferences
// Examples below are some of commonly used options.
......
This diff could not be displayed because it is too large.
......@@ -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;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!