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

If LESS environment variable is defined, cdiff displays raw colour codes #67

Closed
Jehops opened this issue Sep 13, 2017 · 1 comment
Closed

Comments

@Jehops
Copy link

Jehops commented Sep 13, 2017

LESS="anything" cdiff will cause cdiff to display raw colour codes instead of colours. This is with cdiff-1.0.3 installed via the FreeBSD package.

@ymattw
Copy link
Owner

ymattw commented Sep 14, 2017

If you set LESS environment, cdiff considers you want to control the behavior of less yourself completely. In your case you are missing the -R option for less.

FYI cdiff use this as default options for less: -FRSX --shift 1.

@ymattw ymattw closed this as completed Sep 14, 2017
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