TooTallNate/ansi.js — pull request #19 by drewblaisdell (2014-10-20 04:28:14+00:00)
Title: Preserve chaining after redundant style-method calls.

The style methods on the Cursor class do not return an instance of the class when they are already enabled. For instance, `cursor.bold().italic()` will throw a TypeError if the cursor is already bold because `bold()` returns `undefined`, thus breaking the chaining.

This commit fixes that issue by always making calls to bold/italic/underline/inverse return an instance of Cursor.