Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Sep 14, 2014
  1. Version bump to 0.5.0

  2. Allowed word boundaries for motion and completion to be different

    For instance, one wants to treat "" as two words while moving,
    but when hitting "<tab>" one expects "" to be treated as
    the expression being completed
  3. Add tests for ansi_print

Commits on Sep 7, 2014
Commits on Jun 26, 2014
  1. Version bump to 0.4.4

  2. Made the cursor move up and down using CUU and CUD

    This was done because iTerm2 does not understand CNL and CPL.
Commits on Jan 21, 2014
Commits on Jan 18, 2014
  1. Allowed coolline to read input from non-tty source

    When #tty? returns false, the input is read line by line with gets. It
    is still passed to the transform block before being printed out.
Commits on Nov 28, 2013
  1. Fixed years in license file

  2. Added license file

Commits on Aug 3, 2013
  1. Fixed infinite loop in Coolline#common_beginning When the completion …

    returns identical candidates.
Commits on Apr 28, 2013
  1. Version bump to 0.4.2

Commits on Apr 6, 2013
Commits on Apr 5, 2013
Commits on Mar 27, 2013
  1. Revert "Used regular markdown syntax for code blocks for YARD to form…

    …at it properly"
    This reverts commit 110220c.
Commits on Mar 26, 2013
  1. @epitron

    * Updated the README (syntax highlighting, more examples, more descri…

    epitron authored
    * Added `Coolline.readline` (for `Readline.readline` compatability)
    * Added `Coolline#bind` (to bind keys on the Coolline instance only)
  2. @epitron
Commits on Mar 22, 2013
Commits on Mar 12, 2013
  1. Reverted to old style gemspec

Commits on Mar 11, 2013
  1. @epitron

    Updated the gemspec:

    epitron authored
     * Renamed to .gemspec (new style)
     * '' will now be shown as the first page in rdoc/yard (or on
    Updated Rakefile:
     * New tasks: build, install, release
    Bumped the gem version to 0.4.1
  2. @epitron

    Added a "default_line" parameter to the readline method, which pre-po…

    epitron authored
    …pulates the input line with the string of your choice. Also added a "replace_line" method, for use in callbacks that replace the entire line.
  3. @epitron

    Some fixes for Linux terminals (specifically, libvte based ones):

    epitron authored
     - HOME/END keys fixed
     - Alt-D hotkey added (deletes the next word, standard in readline)
     - IO#getch replaced with IO#raw to make ALT-keys and arrow-keys work in VTE
       (Any keys which send more than 1 character to the terminal were getting
       the 2nd and/or 3rd characters dropped.
       After investigation, I figured out that IO#getch was using system calls
       to initialize/deinitialize raw mode EVERY time you called it. This introduced
       enough delay that it would miss some characters.
       KDE's konsole didn't have this problem because it emulates a 9600 baud modem,
       but VTE-based terminals, like gnome-terminal, guake, and xfce4-terminal
       send all the characters immediately.
       The solution was to just initialize raw mode once with IO#raw, and only
       deinitialize it after the user was finished with readline.
       This should fix pasting problems in VTE as well.)
Commits on Feb 26, 2013
  1. @davidcelis

    Remove call to IO#lines

    davidcelis authored
    In Ruby 2.0.0, IO#lines is deprecated. Coolline has therefore started to
    throw deprecation warnings. Remove the call to IO#lines to reduce
    deprecation noise.
    Signed-off-by: David Celis <>
Commits on Jan 16, 2013
Commits on Dec 1, 2012
  1. Bumped gem version to 0.4.0

Commits on Oct 11, 2012
Commits on Oct 4, 2012
Commits on Oct 3, 2012
Something went wrong with that request. Please try again.