We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@TylerBrock
tried modifying code as follows:
var prompt_string = "PROMPT"; return colorize(prompt_string, mongo_hacker_config.colors.date);
but it prints escaped code as follows: [34mPROMPT[m^C
The text was updated successfully, but these errors were encountered:
related:
workaround: use print() :
var prompt_string = host + '(' + process + '-' + version + ')' + state + ' ' + db; var prompt_string = colorize(prompt_string, mongo_hacker_config.colors.prompt); print(prompt_string); return ">";
Sorry, something went wrong.
@TylerBrock, this helped me a lot. Could this be noted somewhere like a FAQ or tutorials or even in the README.md?
README.md
No branches or pull requests
@TylerBrock
tried modifying code as follows:
but it prints escaped code as follows:
[34mPROMPT[m^C
The text was updated successfully, but these errors were encountered: