Sha256: 70e582eb641bee6be0cfee72e3e6f5630afd34cc29b48d54a9c519925f636637

Contents?: true

Size: 405 Bytes

Versions: 13

Compression:

Stored size: 405 Bytes

Contents

require 'rubytext'

RubyText.start

STDSCR.go 1, 2
STDSCR.putch "0"

STDSCR.putch '1', r: 3,  c: 6,  fx: RubyText::Effects.new(Red)
STDSCR.putch '2', r: 5,  c: 10, fx: RubyText::Effects.new(Yellow, :reverse)
STDSCR.putch '3', r: 7,  c: 14
STDSCR.putch '4', r: 9,  c: 18, fx: RubyText::Effects.new(Green, :normal)
STDSCR.putch '5', r: 11, c: 22, fx: RubyText::Effects.new(Red, :normal)

STDSCR.home

getch

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rubytext-0.0.90 examples/crap.rb
rubytext-0.0.89 examples/crap.rb
rubytext-0.0.88 examples/crap.rb
rubytext-0.0.87 examples/crap.rb
rubytext-0.0.86 examples/crap.rb
rubytext-0.0.85 examples/crap.rb
rubytext-0.0.84 examples/crap.rb
rubytext-0.0.83 examples/crap.rb
rubytext-0.0.82 examples/crap.rb
rubytext-0.0.81 examples/crap.rb
rubytext-0.0.80 examples/crap.rb
rubytext-0.0.79 examples/crap.rb
rubytext-0.0.78 examples/crap.rb