Sha256: 6c77ded7d1a97ed37b5b9e8fe8b6017f9afffc26af51dde9d6092d219d504ed6
Contents?: true
Size: 630 Bytes
Versions: 4
Compression:
Stored size: 630 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true $LOAD_PATH.unshift(File.expand_path('../../lib', __FILE__)) require 'coltrane/ui' module Coltrane module UI class App < Gambiarra::App def setup if ENV['COLORTERM'] == 'truecolor' Paint.mode = 0xFFFFFF else Paint.mode = 0 puts "This terminal doesn't seem to support true color. " \ "Try something like iTerm2 (for macOS), VTE or Konsole (for linux) or Hyper" \ " (for Windows) and you'll see the true magic!" end end end end end Coltrane::UI::App.start(ARGV.join(' '))
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
coltrane-4.1.2 | exe/coltrane |
coltrane-4.1.1 | exe/coltrane |
coltrane-4.1.0 | exe/coltrane |
coltrane-4.0.6 | exe/coltrane |