Sha256: 503ed9a1d56409e627b852b67fea1aa47ba5384a2ee2283700d95b866ec12ad5

Contents?: true

Size: 320 Bytes

Versions: 11

Compression:

Stored size: 320 Bytes

Contents

win = RubyText.window(6, 30, 3, 13, fg: Yellow, bg: Blue)

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

sleep 2
11.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 6, 0
puts "Nothing stops you from overwriting a window."

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
rubytext-0.0.84 examples/prog10.rb
rubytext-0.0.83 examples/prog10.rb
rubytext-0.0.82 examples/prog10.rb
rubytext-0.0.81 examples/prog10.rb
rubytext-0.0.80 examples/prog10.rb
rubytext-0.0.79 examples/prog10.rb
rubytext-0.0.78 examples/prog10.rb
rubytext-0.0.77 examples/prog10.rb
rubytext-0.0.76 examples/prog10.rb
rubytext-0.0.75 examples/prog10.rb
rubytext-0.0.74 examples/prog10.rb