Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PasteboardProvider ¶ added in v0.4.0
type StatusAndPrompt ¶
type StatusAndPrompt struct {
// contains filtered or unexported fields
}
StatusAndPrompt is a resizing model which displays a submodel and a status bar. When the start prompt event is received, focus will be torn away and the user will be given a prompt the enter text.
func New ¶
func New(model layout.ResizingModel, pasteboardProvider PasteboardProvider, initialMsg string, style Style) *StatusAndPrompt
func (*StatusAndPrompt) InPrompt ¶
func (s *StatusAndPrompt) InPrompt() bool
func (*StatusAndPrompt) Init ¶
func (s *StatusAndPrompt) Init() tea.Cmd
func (*StatusAndPrompt) Resize ¶
func (s *StatusAndPrompt) Resize(w, h int) layout.ResizingModel
func (*StatusAndPrompt) View ¶
func (s *StatusAndPrompt) View() string
Click to show internal directories.
Click to hide internal directories.