Sha256: c9bf517c6be626cc06971394133eb50d117c99c7ada08f3c86a666d5a808505e

Contents?: true

Size: 308 Bytes

Versions: 2

Compression:

Stored size: 308 Bytes

Contents

# frozen_string_literal: true

module Commander
  module Methods
    include Commander::UI
    include Commander::UI::AskForClass
    include Commander::Delegates

    if $stdin.tty? && (cols = HighLine.default_instance.output_cols) >= 40
      HighLine.default_instance.wrap_at = cols - 5
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
commander-5.0.0 lib/commander/methods.rb
commander-4.6.0 lib/commander/methods.rb