Comments (3)
I'm trying to colorate man's output, but it doesn't work very well.
I see repeting letters
man -P "lolcat -f | less -r" man
result is this, repeating characters:
http://i.imgur.com/frZ4iJE.png
"NNAAMMEE
man - format and display the on-line manual pages
SSYYNNOOPPSSIISS
mmaann
"
Could the cause be that lolcat is not "ansi control character" aware ?
from lolcat.
lolcat actually is ANSI color aware, which you can verify by piping lolcat to itself: base64 </dev/urandom | lolcat -f | lolcat
However, it only strips ANSI color codes and leaves all other ANSI sequences (such as cursor positioning commands) untouched.
If you can come up with a nice way to improve this then a pull request would be welcome.
from lolcat.
closing after >1 year of inactivity
from lolcat.
Related Issues (20)
- WARNING: cgroup v2 is not fully supported yet, proceeding with partial confinement HOT 1
- not work
- Question HOT 1
- lolcat doesn't work on my Ubuntu 21.x
- Animation Issue
- Windows
- MacOS lolcat coloring is not working - fresh install of Monterey HOT 2
- Bad help url HOT 3
- is it possible to combine --animate with --seed?
- [QUESTION] How to build from source? HOT 1
- Lolcat Not Work In A script
- Feature request - make each line start with the same color HOT 1
- Is it possible to disable the rainbow colors? HOT 1
- Center prompt messages
- Add support for windows
- J HOT 1
- the copy button would copy the leading $ in Installation instructions
- Does lolcat log errors?
- lolcat disrespects tabs purpose
- Flag to limit the color range, when force is passed because stdout isn't a TTY
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lolcat.