-
Notifications
You must be signed in to change notification settings - Fork 699
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ASCII color support #225
Comments
This is not currently supported... I'll add this as a feature request. I'm not too familiar with all ASCII color escape codes, would implementing support for the following table be sufficient? https://en.wikipedia.org/wiki/ANSI_escape_code#Colors |
I'd say that's sufficient. If we go with stuff like screen clearing, that'll open a huge can of worm. |
I'm also interested in coloring the output |
Use : https://github.com/nteract/ansi-to-react in ScreenMessage const ScreenMessage: React.FC = ({ {messageFilter && _parseMessageParts(message, messageFilter).map((part, i) => <span key={i} className={part.highlight ? 'highlight' : ''}> {part.text} )} {!messageFilter && {message}} ) } see : https://github.com/s3pweb/log.io/blob/master/ui/src/components/screens/index.tsx |
@sguilly you should make this a pull request. Any instructions on how to use your changes? I got the main code working, but don't know how to add your edits. My experience is limited with node/npm. |
It looks good! Please pull a request. |
Currently I'm piping a program's output into a text file and then let
log.io
track it. However, it gives[0M
-type of characters in the stream and not format them (like it would have if I were usingless -r
). Is the support for this functionality?The text was updated successfully, but these errors were encountered: