Sha256: 60faa53db26249a6dc8f6074c7263526082707ae16e85f10888eb2538b02824a

Contents?: true

Size: 325 Bytes

Versions: 1

Compression:

Stored size: 325 Bytes

Contents

win = RubyText.window(6, 30, 2, 5, true, fg: :black, 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

1 entries across 1 versions & 1 rubygems

Version Path
rubytext-0.0.28 examples/prog10.rb