Sha256: 33727a656965dd24478040a5785201d0892c4758b2ed68cab1ace819aca36298
Contents?: true
Size: 374 Bytes
Versions: 16
Compression:
Stored size: 374 Bytes
Contents
win = RubyText.window(11, 65, 2, 15, fg: Blue, bg: Black) win.puts "The #go method will move the cursor to a specific location." win.go 2, 5 win.puts "x <-- The x is at 2,5" win.puts "\nWith a block, it will execute the block and then" win.puts "return to its previous location." win.print "\n ABC..." sleep 2 win.go(8, 20) { win.print "XYZ" } sleep 2 win.print "DEF"
Version data entries
16 entries across 16 versions & 1 rubygems