Sha256: fccafc3217df5ff9740701d9f48ce1845c336b0721095b4d51946e2d7ab47c62

Contents?: true

Size: 319 Bytes

Versions: 5

Compression:

Stored size: 319 Bytes

Contents

win = RubyText.window(6, 30, 4, 13, 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

5 entries across 5 versions & 1 rubygems

Version Path
rubytext-0.0.73 examples/prog10.rb
rubytext-0.0.72 examples/prog10.rb
rubytext-0.0.71 examples/prog10.rb
rubytext-0.0.70 examples/prog10.rb
rubytext-0.0.69 examples/prog10.rb