Documentation
¶
Index ¶
- Constants
- Variables
- type PaneT
- func (p *PaneT) AtBottom() bool
- func (p *PaneT) Bottom() int32
- func (p *PaneT) BufSize() int
- func (p *PaneT) Close()
- func (p *PaneT) ExecuteShell(func())
- func (p *PaneT) File() *os.File
- func (p *PaneT) GetTerm() types.Term
- func (p *PaneT) Id() string
- func (p *PaneT) Left() int32
- func (p *PaneT) Name() string
- func (p *PaneT) Pwd() string
- func (p *PaneT) Read() (rune, error)
- func (p *PaneT) Resize(size *types.XY) error
- func (p *PaneT) Right() int32
- func (p *PaneT) SetName(s string)
- func (p *PaneT) SetTerm(term types.Term)
- func (p *PaneT) Top() int32
- func (p *PaneT) Write(b []byte) error
- type Tmux
- func (tmux *Tmux) ActivePane() *PaneT
- func (tmux *Tmux) ActiveWindow() *WindowT
- func (tmux *Tmux) CloseWindow(winId string)
- func (tmux *Tmux) GetTermTiles() *types.AppWindowTerms
- func (tmux *Tmux) ListKeyBindings()
- func (tmux *Tmux) NewWindow()
- func (tmux *Tmux) RefreshClient(size *types.XY) error
- func (tmux *Tmux) RenameWindow(win *WindowT, name string) error
- func (tmux *Tmux) SelectAndResizeWindow(winId string, size *types.XY) error
- func (tmux *Tmux) SelectPane(paneId string) error
- func (tmux *Tmux) SendCommand(b []byte) (*tmuxResponseT, error)
- func (tmux *Tmux) SendCommandWithReflection(command string, t reflect.Type, parameters ...string) (any, error)
- func (tmux *Tmux) UpdateSession()
- type WindowT
Constants ¶
View Source
const ( CMD_SELECT_WINDOW = `select-window` CMD_SEND_PREFIX = `send-prefix` )
View Source
const ( START_ATTACH_SESSION = "attach-session" START_NEW_SESSION = "new-session" )
Variables ¶
View Source
var CMD_CLIENT_REFRESH = "refresh-client"
View Source
var CMD_LIST_PANES = "list-panes"
View Source
var CMD_LIST_WINDOWS = "list-windows"
Functions ¶
This section is empty.
Types ¶
type PaneT ¶
type PaneT struct {
// contains filtered or unexported fields
}
func (*PaneT) ExecuteShell ¶
func (p *PaneT) ExecuteShell(func())
type Tmux ¶
type Tmux struct {
// contains filtered or unexported fields
}
func NewStartSession ¶
func (*Tmux) ActivePane ¶
func (*Tmux) ActiveWindow ¶
func (*Tmux) CloseWindow ¶
func (*Tmux) GetTermTiles ¶
func (tmux *Tmux) GetTermTiles() *types.AppWindowTerms
func (*Tmux) ListKeyBindings ¶
func (tmux *Tmux) ListKeyBindings()
func (*Tmux) NewWindow ¶
func (tmux *Tmux) NewWindow()
NewWindow is a request sent to tmux to trigger a new window event
func (*Tmux) SelectAndResizeWindow ¶
func (*Tmux) SelectPane ¶
func (*Tmux) SendCommand ¶
func (*Tmux) SendCommandWithReflection ¶
func (*Tmux) UpdateSession ¶
func (tmux *Tmux) UpdateSession()
type WindowT ¶
type WindowT struct {
// contains filtered or unexported fields
}
func (*WindowT) ActivePane ¶
Click to show internal directories.
Click to hide internal directories.