Sha256: 5c2ac0b4d10caab7848f2c0fe6f13702fe59ff161e01668428aba6cb5a57443a
Contents?: true
Size: 320 Bytes
Versions: 37
Compression:
Stored size: 320 Bytes
Contents
win = RubyText.window(11, 50, r: 2, c: 15, 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.\n " sleep 1; win[4,22] = "X"; win.refresh sleep 1; win[8,20] = "y"; win.refresh sleep 1; win[6,38] = "Z"; win.refresh
Version data entries
37 entries across 37 versions & 1 rubygems