projects
/
jscl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5c33064
)
Show current package name as prompt
author
David Vazquez
<davazp@gmail.com>
Sat, 19 Jan 2013 00:56:36 +0000
(
00:56
+0000)
committer
David Vazquez
<davazp@gmail.com>
Sat, 19 Jan 2013 00:56:36 +0000
(
00:56
+0000)
ecmalisp.html
patch
|
blob
|
history
diff --git
a/ecmalisp.html
b/ecmalisp.html
index
f81059c
..
378eb99
100644
(file)
--- a/
ecmalisp.html
+++ b/
ecmalisp.html
@@
-67,7
+67,7
@@
<script src="jqconsole.min.js" type="text/javascript" charset="utf-8"></script>
<script>
$(function () {
<script src="jqconsole.min.js" type="text/javascript" charset="utf-8"></script>
<script>
$(function () {
- var jqconsole = $('#console').jqconsole('Welcome to Ecmalisp!\n\n', '> ');
+ var jqconsole = $('#console').jqconsole('Welcome to Ecmalisp!\n\n', '');
jqconsole.RegisterMatching('(', ')', 'parents');
lisp.write = function(str){
jqconsole.RegisterMatching('(', ')', 'parents');
lisp.write = function(str){
@@
-77,6
+77,7
@@
var startPrompt = function () {
// Start the prompt with history enabled.
var startPrompt = function () {
// Start the prompt with history enabled.
+ jqconsole.Write(lisp.evalString('(CL:PACKAGE-NAME CL:*PACKAGE*)') + '> ', 'jqconsole-prompt');
jqconsole.Prompt(true, function (input) {
// Output input with the class jqconsole-return.
if (input[0] != ','){
jqconsole.Prompt(true, function (input) {
// Output input with the class jqconsole-return.
if (input[0] != ','){