Sha256: 6deaef72d56d7a60fbca2983839291e2970dc17a0564ac339376978f33b66f2e
Contents?: true
Size: 380 Bytes
Versions: 42
Compression:
Stored size: 380 Bytes
Contents
win = RubyText.window(11, 65, r: 2, c: 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
42 entries across 42 versions & 1 rubygems
Version | Path |
---|---|
rubytext-0.0.86 | examples/prog13.rb |
rubytext-0.0.85 | examples/prog13.rb |