MCPcopy Create free account
hub / github.com/codechenx/FastTableViewer / updateFooterWithStatus

Function updateFooterWithStatus

init.go:100–109  ·  view source on GitHub ↗

updateFooterWithStatus updates the footer with a status message

(status string)

Source from the content-addressed store, hash-verified

98
99// updateFooterWithStatus updates the footer with a status message
100func updateFooterWithStatus(status string) {
101 statusMessage = status
102 if mainPage != nil {
103 // Update the footer by rebuilding it
104 mainPage.Clear()
105 mainPage.AddText(fileNameStr, false, tview.AlignLeft, tcell.ColorDarkOrange).
106 AddText(status, false, tview.AlignCenter, tcell.ColorDarkOrange).
107 AddText(cursorPosStr, false, tview.AlignRight, tcell.ColorDarkOrange)
108 }
109}
110
111//help page content

Callers 1

startAsyncUpdateHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected