()
| 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); |
nothing calls this directly
no test coverage detected