We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 151e8da commit 29ff77aCopy full SHA for 29ff77a
internal/exec/describe_config_test.go
@@ -24,7 +24,7 @@ func TestDescribeConfig(t *testing.T) {
24
},
25
Settings: schema.AtmosSettings{
26
Terminal: schema.Terminal{
27
- Pager: true,
+ Pager: "less",
28
29
30
}
pkg/schema/schema.go
@@ -194,7 +194,7 @@ type Terminal struct {
194
SyntaxHighlighting SyntaxHighlighting `yaml:"syntax_highlighting" json:"syntax_highlighting" mapstructure:"syntax_highlighting"`
195
196
197
-func (t Terminal) IsPagerEnabled() bool {
+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"
199
200
0 commit comments