whoami7 - Manager
:
/
proc
/
thread-self
/
root
/
opt
/
alt
/
ruby22
/
lib64
/
ruby
/
2.2.0
/
io
/
console
/
Upload File:
files >> //proc/thread-self/root/opt/alt/ruby22/lib64/ruby/2.2.0/io/console/size.rb
# fallback to console window size def IO.default_console_size [ ENV["LINES"].to_i.nonzero? || 25, ENV["COLUMNS"].to_i.nonzero? || 80, ] end begin require 'io/console' rescue LoadError class IO alias console_size default_console_size end else # returns console window size def IO.console_size console.winsize rescue NoMethodError default_console_size end end
Copyright ©2021 || Defacer Indonesia