sevdokimov / FriendlyTerminal

Public issue tracking for Friendly Terminal IntelliJ plugin.
7 stars 0 forks source link

Terminal shows java error in both explorer panels if the current directory contains another directory with unknown character in the name #19

Open Apkovy opened 10 months ago

Apkovy commented 10 months ago

I accidentally created directory "EOF?" inside my userprofile directory and the terminal went into error in both explorer panels(ctrl-o):

Failed to load list
java.lang.illegalArgumentException drwxrwxr-x 2 89..............
sevdokimov commented 10 months ago

I cannot reproduce the issue. No problem with a folder ending with "?". Could you attach the full error message? image

Apkovy commented 9 months ago

The question mark "?" is probably only the visual representation of an unknown character. I realized it later.

I accidentally created this directory when executing the bash file through openssl in powershell of windows.

I think it has something to do with the different line endings in windows vs linux. Windows has CRLF and Linux only LF. I was sending the bash file with windows endings at each line, so the linux machine did not recognize it. The linux server created the directory anyway and the "ls -la" showed the directory with question mark at the end. So the question mark is most probably the carriage return - CR.