()
| 185 | </TerminalSizeContext.Provider>; |
| 186 | } |
| 187 | override componentDidMount() { |
| 188 | // In accessibility mode, keep the native cursor visible for screen magnifiers and other tools |
| 189 | if (this.props.stdout.isTTY && !isEnvTruthy(process.env.CLAUDE_CODE_ACCESSIBILITY)) { |
| 190 | this.props.stdout.write(HIDE_CURSOR); |
| 191 | } |
| 192 | } |
| 193 | override componentWillUnmount() { |
| 194 | if (this.props.stdout.isTTY) { |
| 195 | this.props.stdout.write(SHOW_CURSOR); |
nothing calls this directly
no test coverage detected