src/jdk.internal.le/share/classes/jdk/internal/jline/UnsupportedTerminal.java
changeset 53179 760293737af0
parent 53178 818b7bf2af49
parent 52974 ddbd9744a3d5
child 53180 2a39d5fc7e58
equal deleted inserted replaced
53178:818b7bf2af49 53179:760293737af0
     1 /*
       
     2  * Copyright (c) 2002-2016, the original author or authors.
       
     3  *
       
     4  * This software is distributable under the BSD license. See the terms of the
       
     5  * BSD license in the documentation provided with this software.
       
     6  *
       
     7  * http://www.opensource.org/licenses/bsd-license.php
       
     8  */
       
     9 package jdk.internal.jline;
       
    10 
       
    11 /**
       
    12  * An unsupported terminal.
       
    13  *
       
    14  * @author <a href="mailto:mwp1@cornell.edu">Marc Prud'hommeaux</a>
       
    15  * @author <a href="mailto:jason@planet57.com">Jason Dillon</a>
       
    16  * @since 2.0
       
    17  */
       
    18 public class UnsupportedTerminal
       
    19     extends TerminalSupport
       
    20 {
       
    21     public UnsupportedTerminal() {
       
    22         this(false, true);
       
    23     }
       
    24 
       
    25     public UnsupportedTerminal(boolean ansiSupported, boolean echoEnabled) {
       
    26         super(false);
       
    27         setAnsiSupported(ansiSupported);
       
    28         setEchoEnabled(echoEnabled);
       
    29     }
       
    30 }