abishekvashok / cmatrix

Terminal based "The Matrix" like implementation
GNU General Public License v3.0
4.02k stars 417 forks source link

Party cmatrix #86

Open Privth opened 5 years ago

Privth commented 5 years ago

I am submitting a feature

Hi, I accidentaly find this bug/feature?

I use alias to ruby-gem colorls:

alias ll='colorls -lA --sd --group-directories-first' alias ls='colorls --group-directories-first'

Problem or Feature in Brief

https://www.youtube.com/watch?v=Xpx1l1yYgbs&feature=youtu.be

Would you like to work on it?

no

abishekvashok commented 5 years ago

It's a bug rather than an intentional feature or Easter egg.

wadkar commented 4 years ago

A very cool ~bug~ feature, if you ask me :-)

abishekvashok commented 4 years ago

Shall we add this to docs then?

wadkar commented 4 years ago

Yeah, we can but not sure how to describe it. When I tried unaliased ls | cmatrix it locked my terminal and messed it up after I pkill cmatrix from another tmux pane. I think the ~bug~ feature is that cmatrix will take piped input as argvs and change its mode constantly?

It's interesting when you gem install colorls and pipe alias ls='colorls -lA --sd --group-directories-first' output to cmatrix ls | cmatrix. The terminal doesn't get locked up and it works fine when you quit with Ctrl-c (q takes a looooooong time for it to stop).

I can send in a PR if you like and we can take it from there.

abishekvashok commented 4 years ago

Sure do it

space-pagan commented 3 years ago

I'll be patching this out. It doesn't make sense for cmatrix to take in arguments past the ones defined.