Documentation
¶
Overview ¶
Package windows declares the UI models to show and interact with saved TMUX window layouts
Index ¶
- func CreateWindow(name string, workingDirectory string, shellCmd string, ...) (int64, error)
- func EditW(w Window) tea.Msg
- func NewWindowsBrowserHelpModel() common.HelpModel
- func WindowCreated() tea.Msg
- type AssociatePanesMsg
- type EditWMsg
- type EditWindowMsg
- type NewWFocus
- type Window
- type WindowBrowserModel
- type WindowContainerModel
- type WindowCreatedMsg
- type WindowDelegate
- type WindowDetailModel
- type WindowEditorModel
- type WindowPanesAssociationModel
- type WindowsBrowserHelpModel
- func (m *WindowsBrowserHelpModel) HideHelp()
- func (m WindowsBrowserHelpModel) Init() tea.Cmd
- func (m *WindowsBrowserHelpModel) ToggleHelp()
- func (m WindowsBrowserHelpModel) Update(msg tea.Msg) (common.HelpModel, tea.Cmd)
- func (m WindowsBrowserHelpModel) View() string
- func (m WindowsBrowserHelpModel) ViewHelp() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateWindow ¶
func WindowCreated ¶
Types ¶
type AssociatePanesMsg ¶
type AssociatePanesMsg struct{ Window Window }
type EditWindowMsg ¶
type EditWindowMsg struct{ Window Window }
type Window ¶
type Window struct {
gorm.Model
Name string
WorkingDirectory string
ShellCmd string
Panes []panes.Pane `gorm:"many2many:window_panes"`
}
func (Window) OpenWithTarget ¶
type WindowBrowserModel ¶
type WindowBrowserModel struct {
// contains filtered or unexported fields
}
func NewWindowBrowserModel ¶
func NewWindowBrowserModel(connector database.Connector, logger common.Logger) WindowBrowserModel
func (WindowBrowserModel) Init ¶
func (m WindowBrowserModel) Init() tea.Cmd
func (WindowBrowserModel) View ¶
func (m WindowBrowserModel) View() string
type WindowContainerModel ¶
type WindowContainerModel struct {
// contains filtered or unexported fields
}
func NewWindowContainerModel ¶
func NewWindowContainerModel(connector database.Connector, logger common.Logger) WindowContainerModel
func (WindowContainerModel) Init ¶
func (m WindowContainerModel) Init() tea.Cmd
func (WindowContainerModel) View ¶
func (m WindowContainerModel) View() string
type WindowCreatedMsg ¶
type WindowCreatedMsg struct{}
type WindowDelegate ¶
type WindowDelegate struct{}
func (WindowDelegate) Height ¶
func (d WindowDelegate) Height() int
func (WindowDelegate) Spacing ¶
func (d WindowDelegate) Spacing() int
type WindowDetailModel ¶
type WindowDetailModel struct {
// contains filtered or unexported fields
}
func NewWindowDetailModel ¶
func (WindowDetailModel) Init ¶
func (m WindowDetailModel) Init() tea.Cmd
func (WindowDetailModel) View ¶
func (m WindowDetailModel) View() string
type WindowEditorModel ¶
type WindowEditorModel struct {
// contains filtered or unexported fields
}
func NewWindowEditorModel ¶
func (WindowEditorModel) Init ¶
func (m WindowEditorModel) Init() tea.Cmd
func (WindowEditorModel) View ¶
func (m WindowEditorModel) View() string
type WindowPanesAssociationModel ¶
type WindowPanesAssociationModel struct {
// contains filtered or unexported fields
}
func (WindowPanesAssociationModel) Init ¶
func (m WindowPanesAssociationModel) Init() tea.Cmd
func (WindowPanesAssociationModel) View ¶
func (m WindowPanesAssociationModel) View() string
type WindowsBrowserHelpModel ¶
func (*WindowsBrowserHelpModel) HideHelp ¶
func (m *WindowsBrowserHelpModel) HideHelp()
func (WindowsBrowserHelpModel) Init ¶
func (m WindowsBrowserHelpModel) Init() tea.Cmd
func (*WindowsBrowserHelpModel) ToggleHelp ¶
func (m *WindowsBrowserHelpModel) ToggleHelp()
func (WindowsBrowserHelpModel) View ¶
func (m WindowsBrowserHelpModel) View() string
func (WindowsBrowserHelpModel) ViewHelp ¶
func (m WindowsBrowserHelpModel) ViewHelp() string
Click to show internal directories.
Click to hide internal directories.