MCPcopy Create free account
hub / github.com/apache/cloudstack / sendCtrlEsc

Method sendCtrlEsc

systemvm/agent/noVNC/core/rfb.js:498–506  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

496 }
497
498 sendCtrlEsc() {
499 if (this._rfb_connection_state !== 'connected' || this._viewOnly) { return; }
500 Log.Info("Sending Ctrl-Esc");
501
502 this.sendKey(KeyTable.XK_Control_L, "ControlLeft", true);
503 this.sendKey(KeyTable.XK_Escape, "Escape", true);
504 this.sendKey(KeyTable.XK_Escape, "Escape", false);
505 this.sendKey(KeyTable.XK_Control_L, "ControlLeft", false);
506 }
507
508 machineShutdown() {
509 this._xvpOp(1, 2);

Callers

nothing calls this directly

Calls 1

sendKeyMethod · 0.95

Tested by

no test coverage detected