Sha256: 8b9bf276785af09e14e6179e0051b5337d3128ed2ac06c85485111d800bc8af0

Contents?: true

Size: 611 Bytes

Versions: 41

Compression:

Stored size: 611 Bytes

Contents

puts "\n\n\n putch can take optional row/column keyword arguments"
puts " as well as 'fx' (text effects)"

STDSCR.go 1, 60;   sleep 0.4
STDSCR.putch "0";  sleep 0.4

STDSCR.putch '1', r: 3,  c: 64,  fx: RubyText::Effects.new(Red);               sleep 0.4 
STDSCR.putch '2', r: 5,  c: 68, fx: RubyText::Effects.new(Yellow, :reverse);   sleep 0.4 
STDSCR.putch '3', r: 7,  c: 72;                                                sleep 0.4 
STDSCR.putch '4', r: 9,  c: 76, fx: RubyText::Effects.new(Green, :normal);     sleep 0.4 
STDSCR.putch '5', r: 11, c: 80, fx: RubyText::Effects.new(Red, :normal)

STDSCR.home

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
rubytext-0.1.6 examples/putch.rb
rubytext-0.1.5 examples/putch.rb
rubytext-0.1.4 examples/putch.rb
rubytext-0.1.3 examples/putch.rb
rubytext-0.1.2 examples/putch.rb
rubytext-0.1.1 examples/putch.rb
rubytext-0.1.0 examples/putch.rb
rubytext-0.0.99 examples/putch.rb
rubytext-0.0.98 examples/putch.rb
rubytext-0.0.97 examples/putch.rb
rubytext-0.0.96 examples/putch.rb
rubytext-0.0.95 examples/putch.rb
rubytext-0.0.94 examples/putch.rb
rubytext-0.0.93 examples/putch.rb
rubytext-0.0.92 examples/putch.rb
rubytext-0.0.91 examples/putch.rb
rubytext-0.0.90 examples/putch.rb
rubytext-0.0.89 examples/prog24.rb
rubytext-0.0.88 examples/prog24.rb
rubytext-0.0.87 examples/prog24.rb