We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d284083 commit f9b8ddcCopy full SHA for f9b8ddc
1 file changed
resources/assets/scripts/components/server/subpages/Console.vue
@@ -61,13 +61,9 @@
61
},
62
63
/**
64
- * Listen for specific socket.io emits from the server.
+ * Listen for specific socket emits from the server.
65
*/
66
sockets: {
67
- 'server log': function (lines: Array<string>) {
68
- lines.forEach(data => data.split(/\n/g).forEach(line => this.terminal && this.terminal.writeln(line + '\u001b[0m')));
69
- },
70
-
71
'console output': function (line: string) {
72
this.terminal && this.terminal.writeln(line.replace(/(?:\r\n|\r|\n)$/im, '') + '\u001b[0m');
73
@@ -105,8 +101,6 @@
105
101
// @ts-ignore
106
102
this.terminal.fit();
107
103
this.terminal.clear();
108
109
- this.$socket().emit('send logs');
110
104
111
112
0 commit comments