diff options
author | Ben Burdette <bburdette@gmail.com> | 2021-06-11 18:55:40 -0600 |
---|---|---|
committer | Ben Burdette <bburdette@gmail.com> | 2021-06-11 18:55:40 -0600 |
commit | edb5a280243974c2094ed62cec104b55b97add43 (patch) | |
tree | 4c4e1ab3fa4a07bbea0b010f38664e659cf81694 | |
parent | 129dd760e63d1be33e99d847e759d8a1e4c2dee7 (diff) |
hintfmt for eye searing varnames
-rw-r--r-- | src/libcmd/repl.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libcmd/repl.cc b/src/libcmd/repl.cc index 29be71e13..57174bf0e 100644 --- a/src/libcmd/repl.cc +++ b/src/libcmd/repl.cc @@ -781,11 +781,13 @@ void runRepl( std::set<std::string> names; for (auto & [name, value] : extraEnv) { - names.insert(ANSI_BOLD + name + ANSI_NORMAL); + // names.insert(ANSI_BOLD + name + ANSI_NORMAL); + names.insert(name); repl->addVarToScope(repl->state->symbols.create(name), value); } printError(hintfmt("The following extra variables are in scope: %s\n", concatStringsSep(", ", names)).str()); + // printError("The following extra variables are in scope: %s\n", concatStringsSep(", ", names)); repl->mainLoop({}); } |