From b0f034a9609b25eb29e57d93e1228a15e3f6af74 Mon Sep 17 00:00:00 2001 From: David Refoua Date: Sun, 16 Oct 2022 01:10:20 +0330 Subject: [PATCH] use correct background colors (SGR49) instead of black (SGR40) - fixes #2560 the default value of SGR 49 works best with both ConEmu and Windows Terminal, and both values don't take an effect on Cmder. (ref: https://github.com/cmderdev/cmder/wiki/Seamless-Windows-Terminal-Integration) --- vendor/cmder_prompt_config.lua.default | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/vendor/cmder_prompt_config.lua.default b/vendor/cmder_prompt_config.lua.default index b9fe15e..bd300ed 100644 --- a/vendor/cmder_prompt_config.lua.default +++ b/vendor/cmder_prompt_config.lua.default @@ -46,15 +46,15 @@ prompt_overrideSvnStatusOptIn = false -- Prompt Attributes -- -- Colors --- Green: "\x1b[1;33;40m" --- Yellow: "\x1b[1;32;40m" --- Light Grey: "\x1b[1;30;40m" +-- Green: "\x1b[1;33;49m" +-- Yellow: "\x1b[1;32;49m" +-- Light Grey: "\x1b[1;30;49m" -- Prompt Element Colors -uah_color = "\x1b[1;33;40m" -- Green = uah = [user]@[hostname] -cwd_color = "\x1b[1;32;40m" -- Yellow cwd = Current Working Directory -lamb_color = "\x1b[1;30;40m" -- Light Grey = Lambda Color -clean_color = "\x1b[1;37;40m" +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" dirty_color = "\x1b[33;3m" conflict_color = "\x1b[31;1m" unknown_color = "\x1b[37;1m" -- White = No VCS Status Branch Color