mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
b91d1a6f6a
commit
82b3c0e941
2 files changed
+4
-1
No files matched your search
@@ -251,6 +251,9 @@ export abstract class ShellSession {
|
|||||||
case TerminalChannels.RESIZE:
|
case TerminalChannels.RESIZE:
|
||||||
shellProcess.resize(message.data.width, message.data.height);
|
shellProcess.resize(message.data.width, message.data.height);
|
||||||
break;
|
break;
|
||||||
|
case TerminalChannels.PING:
|
||||||
|
logger.silly(`[SHELL-SESSION]: ${this.terminalId} ping!`);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
logger.warn(`[SHELL-SESSION]: unknown or unhandleable message type for ${this.terminalId}`, message);
|
logger.warn(`[SHELL-SESSION]: unknown or unhandleable message type for ${this.terminalId}`, message);
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ interface WebsocketApiParams {
|
|||||||
/**
|
/**
|
||||||
* The message for pinging the websocket
|
* The message for pinging the websocket
|
||||||
*
|
*
|
||||||
* @default "{type: \"type\"}"
|
* @default "{type: \"ping\"}"
|
||||||
*/
|
*/
|
||||||
pingMessage?: string;
|
pingMessage?: string;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user