Sha256: 6c2a3935522bb1eff3245f38cc198722fd32dbe561097e9090194eb62d039f8b
Contents?: true
Size: 330 Bytes
Versions: 16
Compression:
Stored size: 330 Bytes
Contents
win = RubyText.window(10, 70, 2, 14, fg: Yellow, bg: Black) win.output do puts "Without scrolling, this is what happens when your window fills up..." puts "This behavior will probably change later." sleep 1 puts "Let's print 10 more lines now:" sleep 1 10.times {|i| puts "Printing line #{i}..."; sleep 0.2 } end
Version data entries
16 entries across 16 versions & 1 rubygems