Skip to content

feature request - ansi colors #3

@MaxPleaner

Description

@MaxPleaner
$ nirvana
>> require 'colored'
=> true
>> puts "asd".red
�[31masd�[0m
=> nil

There's a Javascript library ansi_up which converts the encoded text into colored <span>s. Since the Nirvana console uses HTML maybe this can just be included?

I might try and look at the code and submit a pull request, but no promises ☺️

ANyway thanks for this super-duper cool project!

Obviously feel free to close this issue if this is a non priority.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions