| 202 | end |
| 203 | |
| 204 | def guess_terminal_width |
| 205 | guess_terminal_width_from_io || |
| 206 | guess_terminal_width_from_command || |
| 207 | guess_terminal_width_from_env || |
| 208 | 80 |
| 209 | end |
| 210 | |
| 211 | def guess_terminal_width_from_io |
| 212 | if IO.respond_to?(:console) and IO.console |
nothing calls this directly
no outgoing calls
no test coverage detected