(socket: DockgeSocket)
| 465 | } |
| 466 | |
| 467 | async joinCombinedTerminal(socket: DockgeSocket) { |
| 468 | const terminalName = getCombinedTerminalName(socket.endpoint, this.name); |
| 469 | const terminal = Terminal.getOrCreateTerminal(this.server, terminalName, "docker", [ "compose", "logs", "-f", "--tail", "100" ], this.path); |
| 470 | terminal.enableKeepAlive = true; |
| 471 | terminal.rows = COMBINED_TERMINAL_ROWS; |
| 472 | terminal.cols = COMBINED_TERMINAL_COLS; |
| 473 | terminal.join(socket); |
| 474 | terminal.start(); |
| 475 | } |
| 476 | |
| 477 | async leaveCombinedTerminal(socket: DockgeSocket) { |
| 478 | const terminalName = getCombinedTerminalName(socket.endpoint, this.name); |
no test coverage detected