public class Tmux extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CMD_SELECT_PANE |
static String |
CMD_SEND_PREFIX |
static String |
CMD_SPLIT_WINDOW |
static String |
OPT_PREFIX |
Constructor and Description |
---|
Tmux(Terminal terminal,
PrintStream err,
Consumer<Terminal> runner) |
Modifier and Type | Method and Description |
---|---|
protected KeyMap<Object> |
createKeyMap(String prefix) |
void |
execute(PrintStream out,
PrintStream err,
List<String> command) |
void |
execute(PrintStream out,
PrintStream err,
String command) |
protected void |
redraw() |
void |
run() |
protected void |
selectPane(PrintStream out,
PrintStream err,
List<String> args) |
protected void |
sendPrefix(PrintStream out,
PrintStream err,
List<String> args) |
protected void |
splitWindow(PrintStream out,
PrintStream err,
List<String> args) |
public static final String OPT_PREFIX
public static final String CMD_SEND_PREFIX
public static final String CMD_SPLIT_WINDOW
public static final String CMD_SELECT_PANE
public Tmux(Terminal terminal, PrintStream err, Consumer<Terminal> runner) throws IOException
IOException
public void run() throws IOException
IOException
public void execute(PrintStream out, PrintStream err, String command) throws Exception
Exception
public void execute(PrintStream out, PrintStream err, List<String> command) throws Exception
Exception
protected void selectPane(PrintStream out, PrintStream err, List<String> args) throws IOException
IOException
protected void sendPrefix(PrintStream out, PrintStream err, List<String> args) throws IOException
IOException
protected void splitWindow(PrintStream out, PrintStream err, List<String> args) throws IOException
IOException
protected void redraw()
Copyright © 2017. All rights reserved.