mirror of
https://github.com/charmbracelet/glow.git
synced 2026-08-26 18:14:17 +02:00
* feat!: cleanup Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * more cleanup Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * fix: more cleanup Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * fix: more cleanup --------- Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
18 lines
504 B
Go
18 lines
504 B
Go
package ui
|
|
|
|
// Config contains TUI-specific configuration.
|
|
type Config struct {
|
|
ShowAllFiles bool
|
|
Gopath string `env:"GOPATH"`
|
|
HomeDir string `env:"HOME"`
|
|
GlamourMaxWidth uint
|
|
GlamourStyle string
|
|
EnableMouse bool
|
|
|
|
// Which directory should we start from?
|
|
WorkingDirectory string
|
|
|
|
// For debugging the UI
|
|
HighPerformancePager bool `env:"GLOW_HIGH_PERFORMANCE_PAGER" envDefault:"true"`
|
|
GlamourEnabled bool `env:"GLOW_ENABLE_GLAMOUR" envDefault:"true"`
|
|
}
|