powerlevel9k icon indicating copy to clipboard operation
powerlevel9k copied to clipboard

[VSCode] Bug in Visual Studio Code Terminal

Open bythckr opened this issue 6 years ago • 12 comments

I am on Mac OS Mojave, I am using oh-my-zsh+iTerm2+powerlevel9k+awesome-patched.

But now when I am trying to use the terminal, its having issue with the emojis/unicode (the branch shape, what is the right term?).

Under the understanding (I might be wrong), that VSCode's terminal is reading the .zshrc. I am assuming that it read POWERLEVEL9K_MODE='awesome-patched'. I set the font to "terminal.integrated.fontFamily": "'SourceCodePro+Powerline+Awesome+Regular',", in vscode's settings.json.

My VSCode: Screen Shot 2019-08-07 at 13 52 21

My VSCode with "terminal.integrated.fontFamily": "Inconsolata-dz for Powerline",: Screen Shot 2019-08-07 at 13 46 21

My iTerm on 'awesome-patched' mode in .zshrc & SourceCodePro+Powerline+Awesome+Regular in iterm preference: Screen Shot 2019-08-07 at 13 35 25

Inconsolata-dz for Powerline was suggested.

What else could I try?

bythckr avatar Aug 07 '19 09:08 bythckr

I set the font to "terminal.integrated.fontFamily": "'SourceCodePro+Powerline+Awesome+Regular',", in vscode's settings.json.

You need to remove that trailing comma from fontFamily.

- "terminal.integrated.fontFamily": "'SourceCodePro+Powerline+Awesome+Regular',",
+ "terminal.integrated.fontFamily": "'SourceCodePro+Powerline+Awesome+Regular'",

romkatv avatar Aug 07 '19 10:08 romkatv

It's also possible that you need to replace one + with space.

"terminal.integrated.fontFamily": "'SourceCodePro+Powerline+Awesome Regular'",

romkatv avatar Aug 07 '19 10:08 romkatv

The trailing comma & the + between Awesome & Regular was the issue. 2 rather silly issues, silly me. Thanks a lot.

There is still one more issue. Repeating the command in the output line. Why is that?

bythckr avatar Aug 08 '19 15:08 bythckr

There is still one more issue. Repeating the command in the output line. Why is that?

I don't see anything about repeating the command in the output line in the issue description. Can you elaborate?

romkatv avatar Aug 08 '19 16:08 romkatv

VS Code Terminal: (Note the repeating command circled in red) Screen Shot 2019-08-09 at 00 18 41

iTerm: Screen Shot 2019-08-09 at 00 20 20

bythckr avatar Aug 08 '19 20:08 bythckr

Indeed, that looks pretty bad. Your iTerm also looks kinda broken.

By the way, you are using the original Powerlevel9k, right?

romkatv avatar Aug 08 '19 21:08 romkatv

original Powerlevel9k, right?

I am sorry, I don't understand "original"? I downloaded from https://github.com/Powerlevel9k/powerlevel9k/.

bythckr avatar Aug 10 '19 01:08 bythckr

original Powerlevel9k, right?

I am sorry, I don't understand "original"? I downloaded from https://github.com/Powerlevel9k/powerlevel9k/.

Yes, that's the one. I just wanted to make sure we are talking about the same thing.

romkatv avatar Aug 10 '19 06:08 romkatv

what do I do?

bythckr avatar Aug 14 '19 19:08 bythckr

Maybe some of the powerlevel9k developers or users will help. (I'm neither.)

romkatv avatar Aug 14 '19 19:08 romkatv

(I'm neither.)

I assumed that you are the lead developer. None the less, your support so far has been great. Thanks a lot

bythckr avatar Aug 15 '19 05:08 bythckr

@bythckr It appears that this issue is not specific to Powerlevel9k. See https://github.com/romkatv/powerlevel10k/issues/199. Perhaps the resolution on that issue will help you, too.

romkatv avatar Sep 10 '19 10:09 romkatv