MCPcopy Index your code
hub / github.com/codeaashu/claude-code / _isThirdLevelShift

Method _isThirdLevelShift

src/server/web/public/terminal.js:716–719  ·  view source on GitHub ↗
(e3, t3)

Source from the content-addressed store, hash-verified

714 return 1 === i3.type && this.selectAll(), !!this._isThirdLevelShift(this.browser, e3) || (i3.cancel && this.cancel(e3, true), !i3.key || !!(e3.key && !e3.ctrlKey && !e3.altKey && !e3.metaKey && 1 === e3.key.length && e3.key.charCodeAt(0) >= 65 && e3.key.charCodeAt(0) <= 90) || (this._unprocessedDeadKey ? (this._unprocessedDeadKey = false, true) : (i3.key !== D.C0.ETX && i3.key !== D.C0.CR || (this.textarea.value = ""), this._onKey.fire({ key: i3.key, domEvent: e3 }), this._showCursor(), this.coreService.triggerDataEvent(i3.key, true), !this.optionsService.rawOptions.screenReaderMode || e3.altKey || e3.ctrlKey ? this.cancel(e3, true) : void (this._keyDownHandled = true))));
715 }
716 _isThirdLevelShift(e3, t3) {
717 const i3 = e3.isMac && !this.options.macOptionIsMeta && t3.altKey && !t3.ctrlKey && !t3.metaKey || e3.isWindows && t3.altKey && t3.ctrlKey && !t3.metaKey || e3.isWindows && t3.getModifierState("AltGraph");
718 return "keypress" === t3.type ? i3 : i3 && (!t3.keyCode || t3.keyCode > 47);
719 }
720 _keyUp(e3) {
721 this._keyDownSeen = false, this._customKeyEventHandler && false === this._customKeyEventHandler(e3) || ((function(e4) {
722 return 16 === e4.keyCode || 17 === e4.keyCode || 18 === e4.keyCode;

Callers 2

_keyDownMethod · 0.95
_keyPressMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected