ANSI
class ANSI (View source)
Pure-PHP ANSI Decoder
Methods
                    __construct()
        
                                            
                
            Default Constructor.
                    setDimensions(int $x, int $y)
        
                                            
                
            Set terminal width and height
                    setHistory(int $history)
        
                                            
                
            Set the number of lines that should be logged past the terminal height
                    loadString(string $source)
        
                                            
                
            Load a string
                    appendString(string $source)
        
                                            
                
            Appdend a string
                    string
                
                
                    getScreen()
        
                                            
                
            Returns the current screen
                    string
                
                
                    getHistory()
        
                                            
                
            Returns the current screen and the x previous lines
Details
        
                            ANSI
    __construct()
        
    
    Default Constructor.
        
                            
    setDimensions(int $x, int $y)
        
    
    Set terminal width and height
Resets the screen as well
        
                            
    setHistory(int $history)
        
    
    Set the number of lines that should be logged past the terminal height
        
                            
    loadString(string $source)
        
    
    Load a string
        
                            
    appendString(string $source)
        
    
    Appdend a string
        
                            string
    getScreen()
        
    
    Returns the current screen
        
                            string
    getHistory()
        
    
    Returns the current screen and the x previous lines