All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.prelle.ansi.commands.DECSelectActiveStatusDisplay Maven / Gradle / Ivy

The newest version!
package org.prelle.ansi.commands;

import org.prelle.ansi.ControlSequenceFragment;
import org.prelle.ansi.Level;

/**
 * 

DECSASD selects whether the terminal sends data to the main display or the status line. * Available in: VT Level 4 mode only
* Default: Main display

* * @see VT510 Docs */ public class DECSelectActiveStatusDisplay extends ControlSequenceFragment { public static enum Mode { MAIN_DISPLAY, STATUS_LINE, } //------------------------------------------------------------------- public DECSelectActiveStatusDisplay() { super("$", 0x7D, "DECSASD", Level.VT400); } //------------------------------------------------------------------- public DECSelectActiveStatusDisplay(Mode value) { this(); this.parameter.clear(); this.parameter.add(value.ordinal()); } //------------------------------------------------------------------- public Mode getValue() { int value = parameter.get(0); return Mode.values()[value]; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy