Sha256: 4529f6a63cd62ab8613b3858f2f4081d68c50c7dd25b36f55fe625bcb5c85b7c
Contents?: true
Size: 357 Bytes
Versions: 32
Compression:
Stored size: 357 Bytes
Contents
win = RubyText.window(6, 30, 2, 5, fg: Yellow, bg: Blue) win.puts "We default to cbreak mode, so that characters are " win.puts "accepted instantly, but control-C still works." sleep 2 win.puts "\nIf we set raw mode, control-C is disallowed." RubyText.set(:raw) win.puts "\nGo ahead, type a ^C." sleep 5 win.puts "\nI'm still here." RubyText.set(:_raw)
Version data entries
32 entries across 32 versions & 1 rubygems