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