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

Method sendCtrlAltDel

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

Source from the content-addressed store, hash-verified

484 }
485
486 sendCtrlAltDel() {
487 if (this._rfbConnectionState !== 'connected' || this._viewOnly) { return; }
488 Log.Info("Sending Ctrl-Alt-Del");
489
490 this.sendKey(KeyTable.XK_Control_L, "ControlLeft", true);
491 this.sendKey(KeyTable.XK_Alt_L, "AltLeft", true);
492 this.sendKey(KeyTable.XK_Delete, "Delete", true);
493 this.sendKey(KeyTable.XK_Delete, "Delete", false);
494 this.sendKey(KeyTable.XK_Alt_L, "AltLeft", false);
495 this.sendKey(KeyTable.XK_Control_L, "ControlLeft", false);
496 }
497
498 sendCtrlEsc() {
499 if (this._rfb_connection_state !== 'connected' || this._viewOnly) { return; }

Callers 1

sendCtrlAltDelFunction · 0.80

Calls 1

sendKeyMethod · 0.95

Tested by

no test coverage detected