On this page
io.github.libtmux.Session.Session
- Module
- io.github.libtmux.Session
- Package
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/Session.java
-
One tmux session, as one capture saw it.
<p>Identity is the server and the session id. A name is state: a user can rename a session at any time, and a handle whose equality included the name would stop matching itself the moment they did.
<p>
#windows()reads the capture this handle came from and issues no command. To see newer state, take a new capture.
24 declared, 0 inherited
Members
- activePane method The active pane of the active window. A pure read of the capture.
- activeWindow method The window tmux had active in this session. A pure read of the capture.
- attached method Whether a client was attached when this was captured.
- detachClients method Detaches every client attached to this session, leaving the session running.
- equals method
- expand method Expands a tmux format in this session's context, and answers with what it came to.
- hashCode method
- hooks method This session's own hooks.
- id method The session's stable id.
- kill method Ends this session. Every window in it goes with it.
- lastWindow method Returns to the window that was active before this one.
- name method The session name, which a user may change at any time.
- newWindow method Creates a window in this session and returns that exact window.
- nextWindow method Moves to the next window in this session, wrapping at the end.
- options method This session's own options.
- previousWindow method Moves to the previous window in this session, wrapping at the start.
- refresh method Takes a new capture and returns this session as it is now.
- rename method Renames this session and returns a handle on it as it is now.
- selectWindow method Makes a window of this session the active one.
- server method The server this session lives on.
- Session method
- snapshot method
- toString method
- windows method This session's windows, in tmux's order. A pure read of the capture.