Sha256: dee2cece9322b24df3182e70c19e7b58bb75313ad62123906443834f59558bb7
Contents?: true
Size: 318 Bytes
Versions: 35
Compression:
Stored size: 318 Bytes
Contents
require 'rubytext' RubyText.start(:raw, fg: :white, bg: :black) cmax = STDSCR.cols rmax = STDSCR.rows RubyText.hide_cursor if rmax < 25 || cmax < 80 puts "\n Your window should be 25x80 or larger," puts " but this one is only #{rmax}x#{cmax}." puts " Please resize and run again!" getch exit 1 end
Version data entries
35 entries across 35 versions & 1 rubygems