module Thor::Shell::Terminal

def dynamic_width

Calculate the dynamic width of the terminal
def dynamic_width
  @dynamic_width ||= (dynamic_width_stty.nonzero? || dynamic_width_tput)
end