1
0
mirror of https://github.com/rivo/tview.git synced 2025-04-24 13:48:56 +08:00

Merge beddc35deef94fbe7ce1aea647893a7ff2fd396e into c76f7879f592d17e9e68a1d795a85faae6cb7414

This commit is contained in:
Igor Pavlov 2024-11-03 18:49:31 +01:00 committed by GitHub
commit e0df8de2cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -563,6 +563,11 @@ func (t *Table) SetContent(content TableContent) *Table {
return t
}
// GetContent returns current table's content
func (t *Table) GetContent() TableContent {
return t.content
}
// Clear removes all table data.
func (t *Table) Clear() *Table {
t.content.Clear()