Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloseDialogMsg ¶
type CloseDialogMsg struct {
Result any
}
CloseDialogMsg is returned by a dialog model when it should be dismissed. Result carries an optional value back to the parent (may be nil).
type DownloadDoneMsg ¶
type DownloadDoneMsg struct {
LocalPath string
}
DownloadDoneMsg is sent when a file has been downloaded successfully.
type FolderLoadedMsg ¶
FolderLoadedMsg is sent when a folder listing has been fetched from the API.
type NavigateFolderResult ¶
type NavigateFolderResult struct {
}
NavigateFolderResult is placed in CloseDialogMsg.Result to request that the filebrowser navigate into the given folder path after the dialog closes.
type PreviewReadyMsg ¶
PreviewReadyMsg is sent when a file preview has been rendered and is ready for display. Content contains the ANSI-formatted string.
type ShowDialogMsg ¶
ShowDialogMsg is returned by a component to request a dialog overlay. Content is the tea.Model that renders the dialog body.