Sha256: 503ed9a1d56409e627b852b67fea1aa47ba5384a2ee2283700d95b866ec12ad5
Contents?: true
Size: 320 Bytes
Versions: 11
Compression:
Stored size: 320 Bytes
Contents
win = RubyText.window(6, 30, 3, 13, fg: Yellow, bg: Blue) win.puts "You can write to a window..." sleep 2 11.times { STDSCR.puts } STDSCR.puts "...or you can write to STDSCR (standard screen)" sleep 1 puts "STDSCR is the default receiver." sleep 2 STDSCR.go 6, 0 puts "Nothing stops you from overwriting a window."
Version data entries
11 entries across 11 versions & 1 rubygems