Documentation ¶
Index ¶
- func BuildMSG(msg tea.Msg, state *golua.LState) *golua.LTable
- func CMDBatch(state *golua.LState, cmds *golua.LTable) *golua.LTable
- func CMDBatchBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDBlink(state *golua.LState, id int) *golua.LTable
- func CMDBlinkBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDBuild(state *golua.LState, item *teamodels.TeaItem, t *golua.LTable) tea.Cmd
- func CMDClearScreen(state *golua.LState) *golua.LTable
- func CMDClearScreenBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDClearScrollArea(state *golua.LState) *golua.LTable
- func CMDClearScrollAreaBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDCursorFocus(state *golua.LState, id int) *golua.LTable
- func CMDCursorFocusBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDDisableMouse(state *golua.LState) *golua.LTable
- func CMDDisableMouseBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDEnableMouseAllMotion(state *golua.LState) *golua.LTable
- func CMDEnableMouseAllMotionBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDEnableMouseCellMotion(state *golua.LState) *golua.LTable
- func CMDEnableMouseCellMotionBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDEnterAltScreen(state *golua.LState) *golua.LTable
- func CMDEnterAltScreenBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDEvery(state *golua.LState, duration int, fn *golua.LFunction) *golua.LTable
- func CMDEveryBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDExitAltScreen(state *golua.LState) *golua.LTable
- func CMDExitAltScreenBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDFilePickerInit(state *golua.LState, id int) *golua.LTable
- func CMDFilePickerInitBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDHideCursor(state *golua.LState) *golua.LTable
- func CMDHideCursorBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDImageFile(state *golua.LState, id int, filename string) *golua.LTable
- func CMDImageFileBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDImageSize(state *golua.LState, id, width, height int) *golua.LTable
- func CMDImageSizeBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDListInsertItem(state *golua.LState, id, index int, item *golua.LTable) *golua.LTable
- func CMDListInsertItemBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDListSetItem(state *golua.LState, id, index int, item *golua.LTable) *golua.LTable
- func CMDListSetItemBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDListSetItems(state *golua.LState, id int, items *golua.LTable) *golua.LTable
- func CMDListSetItemsBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDListSpinnerStart(state *golua.LState, id int) *golua.LTable
- func CMDListSpinnerStartBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDListSpinnerToggle(state *golua.LState, id int) *golua.LTable
- func CMDListSpinnerToggleBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDListStatusMessage(state *golua.LState, id int, msg string) *golua.LTable
- func CMDListStatusMessageBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDNone(state *golua.LState) *golua.LTable
- func CMDPrintf(state *golua.LState, format string, args *golua.LTable) *golua.LTable
- func CMDPrintfBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDPrintln(state *golua.LState, args *golua.LTable) *golua.LTable
- func CMDPrintlnBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDProgressDec(state *golua.LState, id int, percent float64) *golua.LTable
- func CMDProgressDecBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDProgressInc(state *golua.LState, id int, percent float64) *golua.LTable
- func CMDProgressIncBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDProgressSet(state *golua.LState, id int, percent float64) *golua.LTable
- func CMDProgressSetBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDQuit(state *golua.LState) *golua.LTable
- func CMDQuitBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDScrollDown(state *golua.LState, lines *golua.LTable, top, bottom int) *golua.LTable
- func CMDScrollDownBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDScrollSync(state *golua.LState, lines *golua.LTable, top, bottom int) *golua.LTable
- func CMDScrollSyncBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDScrollUp(state *golua.LState, lines *golua.LTable, top, bottom int) *golua.LTable
- func CMDScrollUpBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDSequence(state *golua.LState, cmds *golua.LTable) *golua.LTable
- func CMDSequenceBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDShowCursor(state *golua.LState) *golua.LTable
- func CMDShowCursorBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDSpinnerTick(state *golua.LState, id int) *golua.LTable
- func CMDSpinnerTickBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDStopWatchReset(state *golua.LState, id int) *golua.LTable
- func CMDStopWatchResetBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDStopWatchStart(state *golua.LState, id int) *golua.LTable
- func CMDStopWatchStartBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDStopWatchStop(state *golua.LState, id int) *golua.LTable
- func CMDStopWatchStopBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDStopWatchToggle(state *golua.LState, id int) *golua.LTable
- func CMDStopWatchToggleBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDStored(state *golua.LState, item *teamodels.TeaItem, cmd tea.Cmd) *golua.LTable
- func CMDStoredBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDSuspend(state *golua.LState) *golua.LTable
- func CMDSuspendBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDTextAreaFocus(state *golua.LState, id int) *golua.LTable
- func CMDTextAreaFocusBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDTextInputFocus(state *golua.LState, id int) *golua.LTable
- func CMDTextInputFocusBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDTick(state *golua.LState, duration int, fn *golua.LFunction) *golua.LTable
- func CMDTickBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDTimerInit(state *golua.LState, id int) *golua.LTable
- func CMDTimerInitBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDTimerStart(state *golua.LState, id int) *golua.LTable
- func CMDTimerStartBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDTimerStop(state *golua.LState, id int) *golua.LTable
- func CMDTimerStopBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDTimerToggle(state *golua.LState, id int) *golua.LTable
- func CMDTimerToggleBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDToggleBracketedPaste(state *golua.LState, enable bool) *golua.LTable
- func CMDToggleBracketedPasteBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDToggleReportFocus(state *golua.LState, enable bool) *golua.LTable
- func CMDToggleReportFocusBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDViewportDown(state *golua.LState, id int, lines *golua.LTable) *golua.LTable
- func CMDViewportDownBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDViewportSync(state *golua.LState, id int) *golua.LTable
- func CMDViewportSyncBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDViewportUp(state *golua.LState, id int, lines *golua.LTable) *golua.LTable
- func CMDViewportUpBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDWindowSize(state *golua.LState) *golua.LTable
- func CMDWindowSizeBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func CMDWindowTitle(state *golua.LState, title string) *golua.LTable
- func CMDWindowTitleBuild(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd
- func KeyEventTable(state *golua.LState, event tea.Key) *golua.LTable
- func ListItemTable(state *golua.LState, title, description, filter string) *golua.LTable
- func ListItemTableFrom(state *golua.LState, i ListItem) *golua.LTable
- func MouseEventTable(state *golua.LState, event tea.MouseEvent) *golua.LTable
- type CMDBuilder
- type ListItem
- type ProgramModel
- type TeaCMD
- type TeaMSG
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CMDBatchBuild ¶
func CMDBlinkBuild ¶
func CMDClearScreenBuild ¶
func CMDClearScrollAreaBuild ¶
func CMDCursorFocusBuild ¶
func CMDDisableMouseBuild ¶
func CMDEnterAltScreenBuild ¶
func CMDEveryBuild ¶
func CMDExitAltScreenBuild ¶
func CMDFilePickerInitBuild ¶
func CMDHideCursorBuild ¶
func CMDImageFileBuild ¶
func CMDImageSizeBuild ¶
func CMDListInsertItem ¶
func CMDListInsertItemBuild ¶
func CMDListSetItem ¶
func CMDListSetItemBuild ¶
func CMDListSetItems ¶
func CMDListSetItemsBuild ¶
func CMDListStatusMessage ¶
func CMDPrintfBuild ¶
func CMDPrintlnBuild ¶
func CMDProgressDec ¶
func CMDProgressDecBuild ¶
func CMDProgressInc ¶
func CMDProgressIncBuild ¶
func CMDProgressSet ¶
func CMDProgressSetBuild ¶
func CMDQuitBuild ¶
func CMDScrollDown ¶
func CMDScrollDownBuild ¶
func CMDScrollSync ¶
func CMDScrollSyncBuild ¶
func CMDScrollUp ¶
func CMDScrollUpBuild ¶
func CMDSequenceBuild ¶
func CMDShowCursorBuild ¶
func CMDSpinnerTickBuild ¶
func CMDStopWatchResetBuild ¶
func CMDStopWatchStartBuild ¶
func CMDStopWatchStopBuild ¶
func CMDStopWatchToggleBuild ¶
func CMDStoredBuild ¶
func CMDSuspendBuild ¶
func CMDTextAreaFocusBuild ¶
func CMDTextInputFocusBuild ¶
func CMDTickBuild ¶
func CMDTimerInitBuild ¶
func CMDTimerStartBuild ¶
func CMDTimerStopBuild ¶
func CMDTimerToggleBuild ¶
func CMDToggleBracketedPaste ¶
func CMDToggleReportFocus ¶
func CMDViewportDown ¶
func CMDViewportDownBuild ¶
func CMDViewportSyncBuild ¶
func CMDViewportUp ¶
func CMDViewportUpBuild ¶
func CMDWindowSizeBuild ¶
func CMDWindowTitleBuild ¶
func ListItemTable ¶
func MouseEventTable ¶
Types ¶
type CMDBuilder ¶
type ListItem ¶
type ListItem struct {
// contains filtered or unexported fields
}
func ListItemBuild ¶
func (ListItem) Description ¶
func (ListItem) FilterValue ¶
type ProgramModel ¶
type ProgramModel struct { Item *teamodels.TeaItem State *golua.LState Id int R *lua.Runner Lg *log.Logger }
func (ProgramModel) Init ¶
func (m ProgramModel) Init() tea.Cmd
func (ProgramModel) View ¶
func (m ProgramModel) View() string
type TeaCMD ¶
type TeaCMD int
const ( CMD_NONE TeaCMD = iota CMD_STORED CMD_BATCH CMD_SEQUENCE CMD_SPINNERTICK CMD_TEXTAREAFOCUS CMD_TEXTINPUTFOCUS CMD_BLINK CMD_CURSORFOCUS CMD_FILEPICKERINIT CMD_LISTSETITEMS CMD_LISTINSERTITEM CMD_LISTSETITEM CMD_LISTSTATUSMESSAGE CMD_LISTSPINNERSTART CMD_LISTSPINNERTOGGLE CMD_PROGRESSSET CMD_PROGRESSDEC CMD_PROGRESSINC CMD_STOPWATCHSTART CMD_STOPWATCHSTOP CMD_STOPWATCHTOGGLE CMD_STOPWATCHRESET CMD_TIMERINIT CMD_TIMERSTART CMD_TIMERSTOP CMD_TIMERTOGGLE CMD_VIEWPORTSYNC CMD_VIEWPORTUP CMD_VIEWPORTDOWN CMD_PRINTF CMD_PRINTLN CMD_WINDOWTITLE CMD_WINDOWSIZE CMD_SUSPEND CMD_QUIT CMD_SHOWCURSOR CMD_HIDECURSOR CMD_CLEARSCREEN CMD_CLEARSCROLLAREA CMD_SCROLLSYNC CMD_SCROLLUP CMD_SCROLLDOWN CMD_EVERY CMD_TICK CMD_TOGGLEREPORTFOCUS CMD_TOGGLEBRACKETEDPASTE CMD_DISABLEMOUSE CMD_ENABLEMOUSEALLMOTION CMD_ENABLEMOUSECELLMOTION CMD_ENTERALTSCREEN CMD_EXITALTSCREEN CMD_IMAGESIZE CMD_IMAGEFILE )
Click to show internal directories.
Click to hide internal directories.