aboutsummaryrefslogtreecommitdiff
path: root/helix-tui/src/widgets/table.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-tui/src/widgets/table.rs')
-rw-r--r--helix-tui/src/widgets/table.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-tui/src/widgets/table.rs b/helix-tui/src/widgets/table.rs
index 1ee4286a..d7caa0b0 100644
--- a/helix-tui/src/widgets/table.rs
+++ b/helix-tui/src/widgets/table.rs
@@ -36,7 +36,7 @@ use std::collections::HashMap;
/// capabilities of [`Text`].
#[derive(Debug, Clone, PartialEq, Default)]
pub struct Cell<'a> {
- content: Text<'a>,
+ pub content: Text<'a>,
style: Style,
}
@@ -81,7 +81,7 @@ where
/// By default, a row has a height of 1 but you can change this using [`Row::height`].
#[derive(Debug, Clone, PartialEq, Default)]
pub struct Row<'a> {
- cells: Vec<Cell<'a>>,
+ pub cells: Vec<Cell<'a>>,
height: u16,
style: Style,
bottom_margin: u16,