Closed sarbazx closed 6 years ago
anybody?
Have you tried with a different terminal theme?
@sintaxi yes, same still.
ok, thanks for reporting. If you can provide any more information let me know.
From your screenshot it seems that your cursor is somewhere one-third into line 7. Which makes me believe that you are prompted to input your email address. Albeit the prompt is invisible.
Try typing into the prompt and if you can type, and when you press enter you get to next line then this would confirm the hypothesis.
This should allow to redefine your original problem definition from:
Hi, first time using surge when running surge on macos 10.13.4 there no any command prompts.
to
when running surge on macos 10.13.4 in a Terminal app XYZ with settings ABC the colored prompt of surge is displayed as invisible.
This all hints at the fact that your terminal in current configuration has troubles displaying some ANSI codes.
If you're looking to debug this issue further, you can try to run surge and redirect output to file. Later use this output to figure out which ANSI code was causing the trouble (as in your case some ANSI codes were fine, because you can see formatted output of "Welcome To Surge").
# run this command, and press Cmd+C after that, later on inspect out.txt file
surge > out.txt
This is what the expected output should look like:
And this is how contents of out.txt
looks like:
Your editor view may differ, but you can see in black the escape sequence, followed by ANSI code of a color. Most likely your terminal chokes somewhere around 2nd line: ^[[90m
characters. So you may want to manually edit file and remove all 6 of those characters and try to cat the file to the terminal to see if this helps.
# this should print the file with all the colors
cat out.txt
Hope this helps. ps. My screenshots are from Ubuntu, but the ANSI code principle is the same on Mac.
@sintaxi @dimkir Hi, thank for response, I have updated surge then tried again it successfully showed me the prompt.
Hi, first time using surge when running surge on macos 10.13.4 there no any command prompts. like this:![screen shot 2018-06-03 at 22 25 25](https://user-images.githubusercontent.com/5629946/40890346-3a9a58f4-677d-11e8-9816-2ee3a7139a41.png)