chjj/tty.js — pull request #29 by petejkim (2012-06-04 11:20:34+00:00)
Title: true reverse video for cursor, use correct fonts under mac and windows

Cursor simply had hard-coded black text and white background which made it invisible when on text that actually has white background (some light vim themes for example.) This commit actually reverses video so that the cursor can be seen on any text as long as foreground and background colors are different.