Skip to content

Conversation

@CosmicToast
Copy link

pass strip=False to colorama.init

pass `strip=False` to `colorama.init`
@felixonmars
Copy link
Collaborator

This breaks simple | less though. I believe it should be an option rather than disabling altogether.

@CosmicToast
Copy link
Author

This (latest commit) adds a new option -c / --color which forces disabling stripping.
The default is to pass None (the default).

Side effects: colorama.init was moved into main().

@felixonmars
Copy link
Collaborator

Thanks!

@felixonmars felixonmars merged commit 29d85f2 into tldr-pages:master Jun 3, 2018
@CosmicToast CosmicToast deleted the pipe-color branch June 3, 2018 12:34
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

Successfully merging this pull request may close these issues.

2 participants