-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Summary
Add configuration for Table's SetSeparator so the character between cells can be set via YAML (e.g. space, vertical bar, or tview's Borders.Vertical).
Background
Discovered while planning a tview presentation demo implementation via tviewyaml. The Table slide demonstrates different separator styles: ' ', Borders.Vertical, and bordered mode.
Demo Usage
Demo uses SetSeparator(' '), SetSeparator(Borders.Vertical); not in config/types.go.
Proposed Approach
- Add
separatorto Table primitive config: string for single char (e.g." "), or named values like"vertical","horizontal","none" - Map to
runeortview.Borders.*in builder - In
builder/builder.gopopulateTableData, callSetSeparatorbefore/after setting cells
Relevant Files
config/types.go– addseparatorto Primitive (Table)builder/builder.go–populateTableDatadocs/tview-coverage.md– document once implemented
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels