Sha256: 779bf9bc27fc7948eb88ed56f18675a177a73ae0ddbf322e104e47a63af6b738
Contents?: true
Size: 382 Bytes
Versions: 12
Compression:
Stored size: 382 Bytes
Contents
win = RubyText.window(11, 65, 0, 15, true, 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
12 entries across 12 versions & 1 rubygems