mirror of
https://github.com/gnh1201/caterpillar.git
synced 2024-11-26 15:31:45 +00:00
Update console.html
This commit is contained in:
parent
a15353eeaf
commit
deb83b42cf
|
@ -51,6 +51,10 @@
|
||||||
$('#console').terminal({
|
$('#console').terminal({
|
||||||
set: function(k, v) {
|
set: function(k, v) {
|
||||||
env[k] = v;
|
env[k] = v;
|
||||||
|
|
||||||
|
if (k == "method") {
|
||||||
|
this.set_prompt('method([[b;red;black]' + env.method + '])> ');
|
||||||
|
}
|
||||||
},
|
},
|
||||||
show: function(k) {
|
show: function(k) {
|
||||||
if (k == "target") {
|
if (k == "target") {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user