diff options
Diffstat (limited to 'mal.html')
| -rw-r--r-- | mal.html | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); /* |
