Skip to content

Commit

Permalink
Add debug
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrmurach committed Oct 29, 2017
1 parent 32c3c38 commit d4440ed
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,21 @@

require 'timecop'
require 'tty-progressbar'
require 'tty-screen'

puts "#####################################################"
puts "TERMINAL SIZE: >>> #{TTY::Screen.size}"
puts "JAVA SIZE: >>> #{TTY::Screen.size_from_java}"
puts "WIN API SIZE: >>> #{TTY::Screen.size_from_win_api}"
puts "IOCTL SIZE: >>> #{TTY::Screen.size_from_ioctl}"
puts "IO CONSOLE SIZE: >>> #{TTY::Screen.size_from_io_console}"
puts "READLINE SIZE: >>> #{TTY::Screen.size_from_readline}"
puts "TPUT SIZE: >>> #{TTY::Screen.size_from_tput}"
puts "STTY SIZE: >>> #{TTY::Screen.size_from_stty}"
puts "ENV SIZE: >>> #{TTY::Screen.size_from_env}"
puts "ANSICON SIZE: >>> #{TTY::Screen.size_from_ansicon}"
puts "#####################################################"


RSpec.configure do |config|
config.expect_with :rspec do |expectations|
Expand Down

0 comments on commit d4440ed

Please sign in to comment.