X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=ecmalisp.html;h=cafc7d4978f0ca7ac93a6e4993f1a48de7d0a89e;hb=3d960988cd3719466c60221eaa4df888e47b5d0e;hp=9610883569ef686b175411dfb6060b1ff34f14e2;hpb=24ccbdeee987c9e08653acf198f708017913100d;p=jscl.git diff --git a/ecmalisp.html b/ecmalisp.html index 9610883..cafc7d4 100644 --- a/ecmalisp.html +++ b/ecmalisp.html @@ -71,29 +71,32 @@ jqconsole.RegisterMatching('(', ')', 'parents'); lisp.write = function(str){ - jqconsole.Write(str, 'jqconsole-output'); + jqconsole.Write(str, 'jqconsole-output', false); return str; } var startPrompt = function () { // Start the prompt with history enabled. - jqconsole.Write(lisp.evalString(id, '(CL:PACKAGE-NAME CL:*PACKAGE*)') + '> ', 'jqconsole-prompt'); + jqconsole.Write(lisp.evalString(pv, '(CL:PACKAGE-NAME CL:*PACKAGE*)') + '> ', 'jqconsole-prompt'); jqconsole.Prompt(true, function (input) { // Output input with the class jqconsole-return. if (input[0] != ','){ try { - jqconsole.Write(lisp.print(id, lisp.evalString(id, input)) + '\n', 'jqconsole-return'); + var vs = lisp.evalString(mv, input); + for (var i=0; i