Command and prompt style can be modified
This commit is contained in:
1 parent
0c64bc2f70
commit
06d879853c
3 files changed
+47
-3
No files matched your search
@@ -43,6 +43,8 @@ class MyShell extends Shell
|
||||
$lt = $t + 5;
|
||||
echo date("Y-m-d h:i:s")."\n";
|
||||
}
|
||||
$fg = ($this->seq % 7) + 1;
|
||||
$this->setPromptStyle("3{$fg}");
|
||||
}
|
||||
|
||||
protected function onCommand($buffer)
|
||||
|
||||
Reference in new issue
Block a user