~adj/Titan#35: 
JANSI Exploration

Explore using JANSI for text colors and any other cool features it may have.

Even if that's the only one, text colors are nice. A couple uses would be highlighting lines jumped to (or half-page-downed to), and having a different color for links that makes them stand out more.

Status
REPORTED
Submitter
~adj
Assigned to
No-one
Submitted
1 year, 7 months ago
Updated
1 year, 7 months ago
Labels
No labels applied.

~adj referenced this from #26 1 year, 7 months ago

~adj 1 year, 7 months ago

JANSI looks promising. I took it for a spin, and it does colors nicely. It also lets you move the cursor, which will be great for changing the colors of things in lines, such as search results. It looks like it may be possible to conceal text as well, and the API is fairly friendly. The documentation isn't great, but a lot of it maps to the Wikipedia article at https://en.wikipedia.org/wiki/ANSI_escape_code (particularly the CSI and SGR sequences), so it's serviceable.

Register here or Log in to comment, or comment via email.