MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / Clear

Method Clear

internal/ui/components/tasks_list.go:154–158  ·  view source on GitHub ↗

Clear clears the tasks list.

()

Source from the content-addressed store, hash-verified

152
153// Clear clears the tasks list.
154func (tl *TasksList) Clear() *tview.Table {
155 tl.historyTable.Clear()
156 tl.historyTable.SetCell(0, 0, tl.noTasksCell())
157 return tl.historyTable
158}
159
160// Refresh updates active tasks from TaskManager.
161func (tl *TasksList) Refresh() {

Callers

nothing calls this directly

Calls 2

noTasksCellMethod · 0.95
ClearMethod · 0.65

Tested by

no test coverage detected