Fix lamda color after a ConEmu change

Seems like https://github.com/Maximus5/ConEmu/issues/1288 caused this
This commit is contained in:
Benjamin Staneck 2017-10-29 10:46:38 +01:00
parent b6042a7ca1
commit a8d32611a9

2
vendor/clink.lua vendored
View File

@ -38,7 +38,7 @@ function set_prompt_filter()
-- build our own prompt
-- orig: $E[1;32;40m$P$S{git}{hg}$S$_$E[1;30;40m{lamb}$S$E[0m
-- color codes: "\x1b[1;37;40m"
local cmder_prompt = "\x1b[1;32;40m{cwd} {git}{hg}{svn} \n\x1b[1;30;40m{lamb} \x1b[0m"
local cmder_prompt = "\x1b[1;32;40m{cwd} {git}{hg}{svn} \n\x1b[1;39;40m{lamb} \x1b[0m"
cmder_prompt = string.gsub(cmder_prompt, "{cwd}", cwd)
if env == nil then
lambda = "λ"