Sha256: 5b81fe08f7924fd4eb3950101cd16243a82addd6cea30f494c679cd5c4394f42
Contents?: true
Size: 546 Bytes
Versions: 16
Compression:
Stored size: 546 Bytes
Contents
win = RubyText.window(11, 65, 2, 14, fg: Blue, bg: White) win.go 2,0 win.puts " Method #home will home the cursor..." win.puts " and #putch will put a character at the current location." sleep 2 win.home; win.putch "H"; sleep 2 win.rcprint 4,3, "We can also move up/down/left/right..."; sleep 2 win.go 7, 29; win.putch("+"); sleep 1 win.go 7, 29; win.up; win.putch("U"); sleep 1 win.go 7, 29; win.down; win.putch("D"); sleep 1 win.go 7, 29; win.left; win.putch("L"); sleep 1 win.go 7, 29; win.right; win.putch("R"); sleep 1
Version data entries
16 entries across 16 versions & 1 rubygems