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.1.6 examples/stdscr.rb
rubytext-0.1.5 examples/stdscr.rb
rubytext-0.1.4 examples/stdscr.rb
rubytext-0.1.3 examples/stdscr.rb
rubytext-0.1.2 examples/stdscr.rb
rubytext-0.1.1 examples/stdscr.rb
rubytext-0.1.0 examples/stdscr.rb
rubytext-0.0.99 examples/stdscr.rb
rubytext-0.0.98 examples/stdscr.rb
rubytext-0.0.97 examples/stdscr.rb
rubytext-0.0.96 examples/stdscr.rb
rubytext-0.0.95 examples/stdscr.rb
rubytext-0.0.94 examples/stdscr.rb
rubytext-0.0.93 examples/stdscr.rb
rubytext-0.0.92 examples/stdscr.rb
rubytext-0.0.91 examples/stdscr.rb
rubytext-0.0.90 examples/stdscr.rb
rubytext-0.0.89 examples/prog10.rb
rubytext-0.0.88 examples/prog10.rb
rubytext-0.0.87 examples/prog10.rb