Search in sources :

Example 1 with DefaultVirtualTerminal

use of com.googlecode.lanterna.terminal.virtual.DefaultVirtualTerminal in project narchy by automenta.

the class TextUI method session.

public DefaultVirtualTerminal session(float fps) {
    DefaultVirtualTerminal vt = new DefaultVirtualTerminal(new TerminalSize(80, 25));
    TextGUI session = new TextGUI(nar, vt, fps);
    sessions.add(session);
    return vt;
}
Also used : DefaultVirtualTerminal(com.googlecode.lanterna.terminal.virtual.DefaultVirtualTerminal) TerminalSize(com.googlecode.lanterna.TerminalSize)

Aggregations

TerminalSize (com.googlecode.lanterna.TerminalSize)1 DefaultVirtualTerminal (com.googlecode.lanterna.terminal.virtual.DefaultVirtualTerminal)1