decrypt icon indicating copy to clipboard operation
decrypt copied to clipboard

It doesn't like my trees

Open alexcoplan opened this issue 12 years ago • 9 comments

This script is full of awesome, but for some reason it doesn't like trees:

$ tree
.
├── decrypt.py
└── something.txt

0 directories, 2 files
Super:Stuff alex$ tree | ./decrypt.py 
.
├── decrypt.py
└── something.txt

0 directories, 2 files

That is the output I get after the decrypt screen closes, but during it looks like this (even in the pause after decryption):

Tree output

I'm using iTerm on OS X 10.7.4.

alexcoplan avatar Aug 08 '12 00:08 alexcoplan

same here

icholy avatar Aug 08 '12 01:08 icholy

I'm thinking of a fix, I could suppress certain characters from the output, but that would be somewhat nasty as you don't get the original file back at the end.

jtwaleson avatar Aug 08 '12 05:08 jtwaleson

Can you try the specialcharfix branch?

jtwaleson avatar Aug 08 '12 07:08 jtwaleson

Same output with that branch.

alexcoplan avatar Aug 08 '12 07:08 alexcoplan

Doh. Forgot to commit the file and made a mess afterwards. You can try it now if you please.

On Wed, Aug 8, 2012 at 9:54 AM, Alex Coplan [email protected]:

Same output with that branch.

— Reply to this email directly or view it on GitHubhttps://github.com/jtwaleson/decrypt/issues/2#issuecomment-7577325.

jtwaleson avatar Aug 08 '12 08:08 jtwaleson

Eek, just ran git pull and I get this:

weird chars

And the second time I ran it:

other screenshot

alexcoplan avatar Aug 08 '12 08:08 alexcoplan

erm.. will look into it later then

jtwaleson avatar Aug 08 '12 08:08 jtwaleson

I have the same problem.

decrypt

I'm using Terminal.app with oh-my-zsh on OS X 10.8.1.

paddykontschak avatar Sep 13 '12 13:09 paddykontschak

It's fixed for py3.

jorlanowski avatar Oct 02 '14 09:10 jorlanowski