Sha256: c54834189a36b02f5587f59348ccdedd2d2d7402af797407425f5be3d6f95bdf

Contents?: true

Size: 318 Bytes

Versions: 16

Compression:

Stored size: 318 Bytes

Contents

win = RubyText.window(6, 30, 2, 5, fg: Yellow, bg: Blue)

win.puts "You can write to a window..."

sleep 2
9.times { STDSCR.puts }
STDSCR.puts "...or you can write to STDSCR (standard screen)"

sleep 1
puts "STDSCR is the default receiver."

sleep 2
STDSCR.go 5, 0
puts "Nothing stops you from overwriting a window."

Version data entries

16 entries across 16 versions & 1 rubygems

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