Versions in this module Expand all Collapse all v0 v0.3.0 Oct 12, 2024 Changes in this version + 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 func(item *teamodels.TeaItem, state *golua.LState, t *golua.LTable) tea.Cmd + type ListItem struct + func ListItemBuild(t *golua.LTable) ListItem + func (i ListItem) Description() string + func (i ListItem) FilterValue() string + func (i ListItem) Title() string + type ProgramModel struct + Id int + Item *teamodels.TeaItem + Lg *log.Logger + R *lua.Runner + State *golua.LState + func (m ProgramModel) Init() tea.Cmd + func (m ProgramModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) + func (m ProgramModel) View() string + type TeaCMD int + const CMD_BATCH + const CMD_BLINK + const CMD_CLEARSCREEN + const CMD_CLEARSCROLLAREA + const CMD_CURSORFOCUS + const CMD_DISABLEMOUSE + const CMD_ENABLEMOUSEALLMOTION + const CMD_ENABLEMOUSECELLMOTION + const CMD_ENTERALTSCREEN + const CMD_EVERY + const CMD_EXITALTSCREEN + const CMD_FILEPICKERINIT + const CMD_HIDECURSOR + const CMD_IMAGEFILE + const CMD_IMAGESIZE + const CMD_LISTINSERTITEM + const CMD_LISTSETITEM + const CMD_LISTSETITEMS + const CMD_LISTSPINNERSTART + const CMD_LISTSPINNERTOGGLE + const CMD_LISTSTATUSMESSAGE + const CMD_NONE + const CMD_PRINTF + const CMD_PRINTLN + const CMD_PROGRESSDEC + const CMD_PROGRESSINC + const CMD_PROGRESSSET + const CMD_QUIT + const CMD_SCROLLDOWN + const CMD_SCROLLSYNC + const CMD_SCROLLUP + const CMD_SEQUENCE + const CMD_SHOWCURSOR + const CMD_SPINNERTICK + const CMD_STOPWATCHRESET + const CMD_STOPWATCHSTART + const CMD_STOPWATCHSTOP + const CMD_STOPWATCHTOGGLE + const CMD_STORED + const CMD_SUSPEND + const CMD_TEXTAREAFOCUS + const CMD_TEXTINPUTFOCUS + const CMD_TICK + const CMD_TIMERINIT + const CMD_TIMERSTART + const CMD_TIMERSTOP + const CMD_TIMERTOGGLE + const CMD_TOGGLEBRACKETEDPASTE + const CMD_TOGGLEREPORTFOCUS + const CMD_VIEWPORTDOWN + const CMD_VIEWPORTSYNC + const CMD_VIEWPORTUP + const CMD_WINDOWSIZE + const CMD_WINDOWTITLE + type TeaMSG int + const MSG_BLINK + const MSG_BLUR + const MSG_FOCUS + const MSG_KEY + const MSG_LUA + const MSG_MOUSE + const MSG_NONE + const MSG_QUIT + const MSG_RESUME + const MSG_SPINNERTICK + const MSG_STOPWATCHRESET + const MSG_STOPWATCHSTARTSTOP + const MSG_STOPWATCHTICK + const MSG_SUSPEND + const MSG_TIMERSTARTSTOP + const MSG_TIMERTICK + const MSG_TIMERTIMEOUT + const MSG_WINDOWSIZE