Sha256: c54834189a36b02f5587f59348ccdedd2d2d7402af797407425f5be3d6f95bdf
Contents?: true
Size: 318 Bytes
Versions: 16
Compression:
Stored size: 318 Bytes
Contents
win = RubyText.window(6, 30, 2, 5, fg: Yellow, bg: Blue) win.puts "You can write to a window..." sleep 2 9.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 5, 0 puts "Nothing stops you from overwriting a window."
Version data entries
16 entries across 16 versions & 1 rubygems