Command and prompt style can be modified
This commit is contained in:
		@@ -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