Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VSCode integration - console text is highlighted / has background of a different color #2693

Closed
1 of 3 tasks
hyperrecursive opened this issue Apr 21, 2022 · 4 comments
Closed
1 of 3 tasks

Comments

@hyperrecursive
Copy link

Purpose of the issue

  • Bug report (encountered problems/errors)
  • Feature request (request for new functionality)
  • Question

Version Information

ConEmu 210912 [64]
Cmder 1.3.19

Microsoft Windows 11 Home 10.0.22000 Build 22000

Description of the issue

The Cmder text is highlighted as shown in the screenshot below.

image

This is run in the default console integrated in Visual Studio Code. As you can see, I'm starting cmder with cmd /K vscode_init.cmd directly with cmd.exe. I would appreciate any hints on how can I fix the background.

@daxgames
Copy link
Member

Colors are configurable in the latest versions of Cmder. It is ot super intuitive but if you search the issues you will probably find suggested solutions.

@daxgames
Copy link
Member

Look for 'Changing Cmder Default cmd.exe Prompt Config File' in the README.md file.

@chrisant996
Copy link
Contributor

chrisant996 commented Apr 21, 2022

Also see #2516, for details and related history.

@hyperrecursive
Copy link
Author

I changed the file mentioned in the #2516 like so:

-- Prompt Element Colors
uah_color = "\x1b[1;33;49m" -- Green = uah = [user]@[hostname]
cwd_color = "\x1b[1;32;49m" -- Yellow cwd = Current Working Directory
lamb_color = "\x1b[1;30;49m" -- Light Grey = Lambda Color
clean_color = "\x1b[1;37;49m"

It worked. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants