Skip to content

Commit e39721f

Browse files
committed
fix pager bool
1 parent 29ff77a commit e39721f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/schema/schema.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ type Terminal struct {
195195
}
196196

197197
func (t *Terminal) IsPagerEnabled() bool {
198-
return t.Pager == "" || t.Pager == "on" || t.Pager == "less" || t.Pager == "true" || t.Pager == "yes" || t.Pager == "y" || t.Pager != "0"
198+
return t.Pager == "" || t.Pager == "on" || t.Pager == "less" || t.Pager == "true" || t.Pager == "yes" || t.Pager == "y" || t.Pager == "1"
199199
}
200200

201201
type SyntaxHighlighting struct {

0 commit comments

Comments
 (0)