Method: Pickaxe::Shell.dynamic_width
- Defined in:
- lib/pickaxe/shell.rb
.dynamic_width ⇒ Object
Extracted from github.com/wycats/thor/blob/master/lib/thor/shell/basic.rb
This is turned off on Windows and returns always 80
7 8 9 10 11 12 13 |
# File 'lib/pickaxe/shell.rb', line 7 def self.dynamic_width if Pickaxe::WINDOWS_IT_IS 80 else (dynamic_width_stty.nonzero? || dynamic_width_tput) end end |