Offsets cell data with a space char to prevent 'runtogether'
This commit is contained in:
parent
5e5b8c4591
commit
0b059c9a72
2
cell.go
2
cell.go
|
@ -32,7 +32,7 @@ func (c cell) String(width int, selected bool) string {
|
|||
if c.kind == Text {
|
||||
format = "%s %-*.*s \033[0m"
|
||||
}
|
||||
return fmt.Sprintf(format, mods, width, width, c.mask)
|
||||
return fmt.Sprintf(format, mods, width-2, width-2, c.mask)
|
||||
}
|
||||
|
||||
func (c cell) Mods() string {
|
||||
|
|
Loading…
Reference in New Issue