diff --git a/console.html b/console.html index 040a8d0..b13835f 100644 --- a/console.html +++ b/console.html @@ -51,6 +51,10 @@ $('#console').terminal({ set: function(k, v) { env[k] = v; + + if (k == "method") { + this.set_prompt('method([[b;red;black]' + env.method + '])> '); + } }, show: function(k) { if (k == "target") {