force less to pause

This commit is contained in:
Jeff Carr 2025-01-11 09:11:30 -06:00
parent c57bb42f20
commit fcd25fa76a
1 changed files with 1 additions and 0 deletions

View File

@ -76,6 +76,7 @@ func main() {
log.Info("") log.Info("")
okExit("") okExit("")
} }
os.Setenv("LESS", "-XR")
if err := shell.Exec([]string{"git", "diff"}); err != nil { if err := shell.Exec([]string{"git", "diff"}); err != nil {
badExit(err) badExit(err)
} }