MCPcopy Create free account
hub / github.com/codeaashu/claude-code / componentDidMount

Method componentDidMount

src/ink/components/App.tsx:181–186  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

179 </TerminalSizeContext.Provider>;
180 }
181 override componentDidMount() {
182 // In accessibility mode, keep the native cursor visible for screen magnifiers and other tools
183 if (this.props.stdout.isTTY && !isEnvTruthy(process.env.CLAUDE_CODE_ACCESSIBILITY)) {
184 this.props.stdout.write(HIDE_CURSOR);
185 }
186 }
187 override componentWillUnmount() {
188 if (this.props.stdout.isTTY) {
189 this.props.stdout.write(SHOW_CURSOR);

Callers

nothing calls this directly

Calls 2

isEnvTruthyFunction · 0.85
writeMethod · 0.45

Tested by

no test coverage detected