Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

kaka

Package Overview
Dependencies
Maintainers
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kaka

  • 1.0.0
  • Rubygems
  • Socket score

Version published
Maintainers
3
Created
Source
░█░█░█▀█░█░█░█▀█░░░░█▀▄░█▀▄
░█▀▄░█▀█░█▀▄░█▀█░░░░█▀▄░█▀▄
░▀░▀░▀░▀░▀░▀░▀░▀░▀░░▀░▀░▀▀░
  • https://github.com/mcfiredrill/kaka.rb

DESCRIPTION:

fork of libcaca ruby extensions.

SYNOPSIS:

The API is kind of awkward right now with regards to user input. The original docs from the libcaca repo recommending doing something like this:

#Redefine Event::Key#quit? so that q, Q, and Esc become exit keys
module Caca
  class Event::Key
    def quit?
      "qQ^[".split('').member?(@ch.chr)
    end
  end
end

This didn't scale terribly well when I tried to make a text art editor => https://github.com/mcfiredrill/dirbird/blob/master/lib/events.rb

I'd like to see if there's another way to do this besides just monkeypatching the event class in your application.

REQUIREMENTS:

  • libcaca

INSTALL:

  • gem install kaka

DEVELOPERS:

After checking out the source, run:

$ rake

This will compile the c extension and run the tests.

LICENSE:

        DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
                Version 2, December 2004

Copyright (C) 2004 Sam Hocevar

Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed.

        DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE

TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

  1. You just DO WHAT THE FUCK YOU WANT TO.

FAQs

Package last updated on 16 Jun 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc