Sha256: a00104230385bc706ad155c2d66df1ee162025584ed4eaf57f862fb4f10f6671
Contents?: true
Size: 336 Bytes
Versions: 42
Compression:
Stored size: 336 Bytes
Contents
win = RubyText.window(10, 70, r: 4, c: 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
42 entries across 42 versions & 1 rubygems