Sha256: a00104230385bc706ad155c2d66df1ee162025584ed4eaf57f862fb4f10f6671

Contents?: true

Size: 336 Bytes

Versions: 42

Compression:

Stored size: 336 Bytes

Contents

win = RubyText.window(10, 70, r: 4, c: 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

42 entries across 42 versions & 1 rubygems

Version Path
rubytext-0.1.29 examples/window_full.rb
rubytext-0.1.28 examples/window_full.rb
rubytext-0.1.26 examples/window_full.rb
rubytext-0.1.25 examples/window_full.rb
rubytext-0.1.23 examples/window_full.rb
rubytext-0.1.22 examples/window_full.rb
rubytext-0.1.21 examples/window_full.rb
rubytext-0.1.20 examples/window_full.rb
rubytext-0.1.19 examples/window_full.rb
rubytext-0.1.18 examples/window_full.rb
rubytext-0.1.17 examples/window_full.rb
rubytext-0.1.16 examples/window_full.rb
rubytext-0.1.15 examples/window_full.rb
rubytext-0.1.14 examples/window_full.rb
rubytext-0.1.13 examples/window_full.rb
rubytext-0.1.12 examples/window_full.rb
rubytext-0.1.11 examples/window_full.rb
rubytext-0.1.10 examples/window_full.rb
rubytext-0.1.8 examples/window_full.rb
rubytext-0.1.7 examples/window_full.rb