aboutsummaryrefslogtreecommitdiff
path: root/src/libcmd/command.cc
diff options
context:
space:
mode:
authorBen Burdette <bburdette@protonmail.com>2022-02-04 14:50:25 -0700
committerBen Burdette <bburdette@protonmail.com>2022-02-04 14:50:25 -0700
commit3ddf864e1b2c5c27b2e6f7203e262c85bf760f7c (patch)
treea5df68188a8ccbac740c4c4d949d8bef70f710b1 /src/libcmd/command.cc
parent412d58f0bb65104b0065dbf721a92b9e5dcdcdbb (diff)
print value in break
Diffstat (limited to 'src/libcmd/command.cc')
-rw-r--r--src/libcmd/command.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcmd/command.cc b/src/libcmd/command.cc
index 5848a15bf..701976265 100644
--- a/src/libcmd/command.cc
+++ b/src/libcmd/command.cc
@@ -77,7 +77,8 @@ ref<EvalState> EvalCommand::getEvalState()
searchPath, getEvalStore(), getStore());
if (startReplOnEvalErrors)
debuggerHook = [evalState{ref<EvalState>(evalState)}](const Error * error, const Env & env, const Expr & expr) {
- std::cout << "\033[2J\033[1;1H";
+ // clear the screen.
+ // std::cout << "\033[2J\033[1;1H";
if (error)
printError("%s\n\n" ANSI_BOLD "Starting REPL to allow you to inspect the current state of the evaluator.\n" ANSI_NORMAL, error->what());