Sha256: 47f0b215507f31b8c4f1b37718d63ec09b2b7ca4b5ae9e0dfd2484e111c7b8a9
Contents?: true
Size: 291 Bytes
Versions: 9
Compression:
Stored size: 291 Bytes
Contents
win = RubyText.window(10, 50, 0, 5, true, fg: :yellow, bg: :blue) win.puts "We can use the []= method (0-based)" win.puts "to address individual window locations" win.puts "and place characters there. [BUG!]\n " sleep 2 win[4,2] = "X" sleep 2 win[8,10] = "y" sleep 2 win[6,18] = "Z"
Version data entries
9 entries across 9 versions & 1 rubygems