()
| 71 | } |
| 72 | |
| 73 | render() { |
| 74 | const shift = !isMac && this.props.termGroups.length > 1; |
| 75 | return ( |
| 76 | <div className={`terms_terms ${shift ? 'terms_termsShifted' : 'terms_termsNotShifted'}`}> |
| 77 | {this.props.customChildrenBefore} |
| 78 | {this.props.termGroups.map((termGroup) => { |
| 79 | const {uid} = termGroup; |
| 80 | const isActive = uid === this.props.activeRootGroup; |
| 81 | const props = getTermGroupProps(uid, this.props, { |
| 82 | termGroup, |
| 83 | terms: this.terms, |
| 84 | activeSession: this.props.activeSession, |
| 85 | sessions: this.props.sessions, |
| 86 | scrollback: this.props.scrollback, |
| 87 | backgroundColor: this.props.backgroundColor, |
| 88 | foregroundColor: this.props.foregroundColor, |
| 89 | borderColor: this.props.borderColor, |
| 90 | selectionColor: this.props.selectionColor, |
| 91 | colors: this.props.colors, |
| 92 | cursorShape: this.props.cursorShape, |
| 93 | cursorBlink: this.props.cursorBlink, |
| 94 | cursorColor: this.props.cursorColor, |
| 95 | cursorAccentColor: this.props.cursorAccentColor, |
| 96 | fontSize: this.props.fontSize, |
| 97 | fontFamily: this.props.fontFamily, |
| 98 | uiFontFamily: this.props.uiFontFamily, |
| 99 | fontWeight: this.props.fontWeight, |
| 100 | fontWeightBold: this.props.fontWeightBold, |
| 101 | lineHeight: this.props.lineHeight, |
| 102 | letterSpacing: this.props.letterSpacing, |
| 103 | padding: this.props.padding, |
| 104 | bell: this.props.bell, |
| 105 | bellSoundURL: this.props.bellSoundURL, |
| 106 | bellSound: this.props.bellSound, |
| 107 | copyOnSelect: this.props.copyOnSelect, |
| 108 | modifierKeys: this.props.modifierKeys, |
| 109 | onActive: this.props.onActive, |
| 110 | onResize: this.props.onResize, |
| 111 | onTitle: this.props.onTitle, |
| 112 | onData: this.props.onData, |
| 113 | onOpenSearch: this.props.onOpenSearch, |
| 114 | onCloseSearch: this.props.onCloseSearch, |
| 115 | onContextMenu: this.props.onContextMenu, |
| 116 | quickEdit: this.props.quickEdit, |
| 117 | webGLRenderer: this.props.webGLRenderer, |
| 118 | webLinksActivationKey: this.props.webLinksActivationKey, |
| 119 | macOptionSelectionMode: this.props.macOptionSelectionMode, |
| 120 | disableLigatures: this.props.disableLigatures, |
| 121 | screenReaderMode: this.props.screenReaderMode, |
| 122 | parentProps: this.props |
| 123 | }); |
| 124 | |
| 125 | return ( |
| 126 | <div key={`d${uid}`} className={`terms_termGroup ${isActive ? 'terms_termGroupActive' : ''}`}> |
| 127 | <TermGroup key={uid} ref_={this.onRef} {...props} /> |
| 128 | </div> |
| 129 | ); |
| 130 | })} |
nothing calls this directly
no test coverage detected