Skip to content
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

Allow no colouring of output (e.g. for use from vim editor) #3

Open
vlcinsky opened this issue Nov 3, 2014 · 2 comments
Open

Allow no colouring of output (e.g. for use from vim editor) #3

vlcinsky opened this issue Nov 3, 2014 · 2 comments

Comments

@vlcinsky
Copy link

vlcinsky commented Nov 3, 2014

On console, colouring looks nice.

When used from vim editor

:!ramlparser %

the output gets messy as there are colour control codes.

Possible options are:

  • switch colouring completely - quick and effective
  • autodetect console ability to work with colour codes (could be a bit of work)
  • add an option to switch colouring on/off (ideally with an option to set it via rc file or system variable)
hadesbox added a commit that referenced this issue Nov 3, 2014
@hadesbox
Copy link
Owner

hadesbox commented Nov 3, 2014

I completely disabled the colors, maybe I add an suboption to enable colors for console :) (--colors or something).

@hadesbox hadesbox closed this as completed Nov 3, 2014
@hadesbox hadesbox reopened this Nov 3, 2014
@vlcinsky
Copy link
Author

vlcinsky commented Nov 3, 2014

@hadesbox You are my man - works perfectly. Thanks.

Tested from vim and works.

Proposal: close this issue and create new one named "add conditional colouring to output", if you feel it would be handy in future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants