trait Terminal extends AutoCloseable
- Alphabetic
- By Inheritance
- Terminal
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
- 
      
      
      
        
      
    
      
        abstract 
        def
      
      
        close(): Unit
      
      
      - Definition Classes
- AutoCloseable
- Annotations
- @throws( classOf[java.lang.Exception] )
 
- 
      
      
      
        
      
    
      
        abstract 
        def
      
      
        errorStream: OutputStream
      
      
      Gets the error stream for this Terminal. Gets the error stream for this Terminal. - returns
- the error stream. 
 
- 
      
      
      
        
      
    
      
        abstract 
        def
      
      
        getHeight: Int
      
      
      Gets the current height of the terminal. Gets the current height of the terminal. The implementation reads a property from the jline config which is updated if it has been more than a second since the last update. It is thus possible for this value to be stale. - returns
- the terminal height. 
 
- 
      
      
      
        
      
    
      
        abstract 
        def
      
      
        getLineHeightAndWidth(line: String): (Int, Int)
      
      
      Returns the height and width of the current line that is displayed on the terminal. Returns the height and width of the current line that is displayed on the terminal. If the most recently flushed byte is a newline, this will be (0, 0).- returns
- the (height, width) pair 
 
- 
      
      
      
        
      
    
      
        abstract 
        def
      
      
        getWidth: Int
      
      
      Gets the current width of the terminal. Gets the current width of the terminal. The implementation reads a property from the jline config which is updated if it has been more than a second since the last update. It is thus possible for this value to be stale. - returns
- the terminal width. 
 
- 
      
      
      
        
      
    
      
        abstract 
        def
      
      
        inputStream: InputStream
      
      
      Gets the input stream for this Terminal. Gets the input stream for this Terminal. This could be a wrapper around System.in for the process or it could be a remote input stream for a network channel. - returns
- the input stream. 
 
- 
      
      
      
        
      
    
      
        abstract 
        def
      
      
        isAnsiSupported: Boolean
      
      
      Returns true if the terminal supports ansi characters. Returns true if the terminal supports ansi characters. - returns
- true if the terminal supports ansi escape codes. 
 
- 
      
      
      
        
      
    
      
        abstract 
        def
      
      
        isColorEnabled: Boolean
      
      
      Returns true if color is enabled for this terminal. Returns true if color is enabled for this terminal. - returns
- true if color is enabled for this terminal. 
 
- 
      
      
      
        
      
    
      
        abstract 
        def
      
      
        isEchoEnabled: Boolean
      
      
      Returns true if the terminal has echo enabled. Returns true if the terminal has echo enabled. - returns
- true if the terminal has echo enabled. 
 
- 
      
      
      
        
      
    
      
        abstract 
        def
      
      
        isSuccessEnabled: Boolean
      
      
      Returns true if the terminal has success enabled, which it may not if it is for batch commands because the client will print the success results when received from the server. Returns true if the terminal has success enabled, which it may not if it is for batch commands because the client will print the success results when received from the server. - returns
- true if the terminal has success enabled 
 
- 
      
      
      
        
      
    
      
        abstract 
        def
      
      
        isSupershellEnabled: Boolean
      
      
      Returns true if the terminal has supershell enabled. Returns true if the terminal has supershell enabled. - returns
- true if the terminal has supershell enabled. 
 
- 
      
      
      
        
      
    
      
        abstract 
        def
      
      
        outputStream: OutputStream
      
      
      Gets the output stream for this Terminal. Gets the output stream for this Terminal. - returns
- the output stream. 
 
- 
      
      
      
        
      
    
      
        abstract 
        def
      
      
        setEchoEnabled(toggle: Boolean): Unit
      
      
      Toggles whether or not the terminal should echo characters back to stdout Toggles whether or not the terminal should echo characters back to stdout - returns
- the previous value of the toggle 
 
Concrete Value Members
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        !=(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ##(): Int
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ==(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        asInstanceOf[T0]: T0
      
      
      - Definition Classes
- Any
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        clone(): AnyRef
      
      
      - Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        eq(arg0: AnyRef): Boolean
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        equals(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        finalize(): Unit
      
      
      - Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        getClass(): Class[_]
      
      
      - Definition Classes
- AnyRef → Any
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        hashCode(): Int
      
      
      - Definition Classes
- AnyRef → Any
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        isInstanceOf[T0]: Boolean
      
      
      - Definition Classes
- Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ne(arg0: AnyRef): Boolean
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        notify(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        notifyAll(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        synchronized[T0](arg0: ⇒ T0): T0
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        toString(): String
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long, arg1: Int): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()