Sha256: 6c2a3935522bb1eff3245f38cc198722fd32dbe561097e9090194eb62d039f8b

Contents?: true

Size: 330 Bytes

Versions: 16

Compression:

Stored size: 330 Bytes

Contents

win = RubyText.window(10, 70, 2, 14, fg: Yellow, bg: Black)

win.output do
  puts "Without scrolling, this is what happens when your window fills up..."
  puts "This behavior will probably change later."
  sleep 1
  puts "Let's print 10 more lines now:"
  sleep 1
  
  10.times {|i| puts "Printing line #{i}..."; sleep 0.2 }
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
rubytext-0.0.68 examples/prog05.rb
rubytext-0.0.67 examples/prog05.rb
rubytext-0.0.66 examples/prog05.rb
rubytext-0.0.65 examples/prog05.rb
rubytext-0.0.64 examples/prog05.rb
rubytext-0.0.63 examples/prog05.rb
rubytext-0.0.62 examples/prog05.rb
rubytext-0.0.61 examples/prog05.rb
rubytext-0.0.60 examples/prog05.rb
rubytext-0.0.59 examples/prog05.rb
rubytext-0.0.58 examples/prog05.rb
rubytext-0.0.57 examples/prog05.rb
rubytext-0.0.56 examples/prog05.rb
rubytext-0.0.55 examples/prog05.rb
rubytext-0.0.54 examples/prog05.rb
rubytext-0.0.53 examples/prog05.rb