MCPcopy
hub / github.com/mum4k/termdash / Border

Function Border

widgets/radar/options.go:302–307  ·  view source on GitHub ↗

Border configures the Radar to have a border of the specified style. Optionally accepts cell options to style the border (e.g. color).

(ls linestyle.LineStyle, cOpts ...cell.Option)

Source from the content-addressed store, hash-verified

300// Border configures the Radar to have a border of the specified style.
301// Optionally accepts cell options to style the border (e.g. color).
302func Border(ls linestyle.LineStyle, cOpts ...cell.Option) Option {
303 return option(func(o *options) {
304 o.border = ls
305 o.borderCellOpts = cOpts
306 })
307}
308
309// BorderTitle sets a text title displayed within the border.
310// Has no effect if no border style is configured.

Callers 1

newVisualizeTabFunction · 0.92

Calls 1

optionFuncType · 0.70

Tested by

no test coverage detected