mirror of
https://github.com/muesli/duf
synced 2024-07-01 06:54:37 +00:00
gofmt style.go
This commit is contained in:
parent
e1b4a2d9aa
commit
297032b4a2
6
style.go
6
style.go
|
@ -4,9 +4,9 @@ import "github.com/mattn/go-runewidth"
|
|||
|
||||
func defaultStyleName() string {
|
||||
/*
|
||||
Due to a bug in github.com/mattn/go-runewidth v0.0.9, the width of unicode rune(such as '╭') could not be correctly
|
||||
calculated. Degrade to ascii to prevent broken table structure. Remove this once the bug is fixed.
|
||||
*/
|
||||
Due to a bug in github.com/mattn/go-runewidth v0.0.9, the width of unicode rune(such as '╭') could not be correctly
|
||||
calculated. Degrade to ascii to prevent broken table structure. Remove this once the bug is fixed.
|
||||
*/
|
||||
if runewidth.RuneWidth('╭') > 1 {
|
||||
return "ascii"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user