Commit Graph

10 Commits (2e0cb5c3ebcc4b268d95d0518bf029892cf2c1ab)

Author SHA1 Message Date
Marcin Kulik 4da03be774 Fix Terminal#snapshot test 9 years ago
Marcin Kulik 22922a4135 Exclude specs that need terminal binary compiled when it's missing 10 years ago
Marcin Kulik 130948ae3f Upgrate to Rails 4.1.5 10 years ago
Marcin Kulik ff153fff1a Make Terminal return already optimized snapshot 11 years ago
Marcin Kulik 0e2c1784c6 Use terminal binary as a base for Terminal 11 years ago
Marcin Kulik e862acedb7 Animation frames generation on the backend 11 years ago
Marcin Kulik 9e152c3172 Sanitize all characters coming from TSM::Screen#draw
It happens that libtsm's screen_draw returns a character that can't be
properly encoded as utf-8. As what we get is only meant to be displayed
and not interpreted we can replace these invalid characters with a
questio mark, which is a common practice for printing invalid chars.
11 years ago
Marcin Kulik 34b39d0db3 Simplify the structure returned by Terminal#snapshot
Each screen character is in its own, separate cell now. In addition the char
attributes don't include attributes that are "falsy".
11 years ago
Marcin Kulik 0c3494d174 Require explicit call to Terminal#snapshot for getting the snapshot 11 years ago
Marcin Kulik ddf0e57b39 Update SnapshotWorker to generate colorful snapshots 11 years ago