aboutsummaryrefslogtreecommitdiff
path: root/mal.html
diff options
context:
space:
mode:
Diffstat (limited to 'mal.html')
-rw-r--r--mal.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/mal.html b/mal.html
index 3bc5b21..89d9c41 100644
--- a/mal.html
+++ b/mal.html
@@ -208,6 +208,8 @@ this software.
rep("(println (str \"Mal [\" *host-language* \"]\"))");
+ jq_load_history(jqconsole);
+
// Abort prompt on Ctrl+C.
jqconsole.RegisterShortcut('C', function() {
jqconsole.AbortPrompt();
@@ -240,6 +242,7 @@ this software.
jqconsole.Write(exc + '\n', 'jqconsole-error');
}
}
+ jq_save_history(jqconsole);
}
jqconsole.Prompt(true, handler);
/*