()
| 22 | } |
| 23 | |
| 24 | function enableFocusReporting(): void { |
| 25 | const stdin = getStdin() |
| 26 | if (!stdin) return |
| 27 | |
| 28 | try { |
| 29 | process.stdout.write(ENABLE_FOCUS_REPORTING) |
| 30 | } catch (error) { |
| 31 | logger.debug(error, 'Failed to enable focus reporting') |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | function disableFocusReporting(): void { |
| 36 | const stdin = getStdin() |
no test coverage detected