Sha256: 5f19f36bc84613a557471e702ecc2d02b1c2ff5584fe246cb056abae5a14b1e9

Contents?: true

Size: 326 Bytes

Versions: 42

Compression:

Stored size: 326 Bytes

Contents

win = RubyText.window(6, 30, r: 3, c: 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

42 entries across 42 versions & 1 rubygems

Version Path
rubytext-0.0.86 examples/prog10.rb
rubytext-0.0.85 examples/prog10.rb