diff --git a/widgets/zukitchi/assets.go b/widgets/zukitchi/assets.go index acd7efb..ba707a1 100644 --- a/widgets/zukitchi/assets.go +++ b/widgets/zukitchi/assets.go @@ -77,13 +77,13 @@ func cutFirstAndListLineAndMove(frame string, position int) string { if position < 0 { position = 0 } - if position > 35 { - position = 35 + if position > 34 { + position = 34 } lines := strings.Split(frame, "\n") result := make([]string, 0, len(lines)) for _, line := range lines { - result = append(result, strings.Repeat(" ", position)+line+strings.Repeat(" ", 36-position)) + result = append(result, strings.Repeat(" ", position)+line+strings.Repeat(" ", 35-position)) } return strings.Join(result[1:len(result)-1], "\n") }