MCPcopy Create free account
hub / github.com/apache/arrow / guess_terminal_width

Method guess_terminal_width

dev/release/binary-task.rb:204–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected