chore: go mod tidy / vendor / make deps
This commit is contained in:
18
vendor/github.com/evertras/bubble-table/table/overflow.go
generated
vendored
Normal file
18
vendor/github.com/evertras/bubble-table/table/overflow.go
generated
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
package table
|
||||
|
||||
import "github.com/charmbracelet/lipgloss"
|
||||
|
||||
const columnKeyOverflowRight = "___overflow_r___"
|
||||
const columnKeyOverflowLeft = "___overflow_l__"
|
||||
|
||||
func genOverflowStyle(base lipgloss.Style, width int) lipgloss.Style {
|
||||
return base.Width(width).Align(lipgloss.Right)
|
||||
}
|
||||
|
||||
func genOverflowColumnRight(width int) Column {
|
||||
return NewColumn(columnKeyOverflowRight, ">", width)
|
||||
}
|
||||
|
||||
func genOverflowColumnLeft(width int) Column {
|
||||
return NewColumn(columnKeyOverflowLeft, "<", width)
|
||||
}
|
Reference in New Issue
Block a user