Skip to content

Commit

Permalink
Log when exiting due to --quit-if-one-screen
Browse files Browse the repository at this point in the history
  • Loading branch information
walles committed Jan 25, 2025
1 parent 98d0264 commit dab437c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions m/pager.go
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,8 @@ func (p *Pager) StartPaging(screen twin.Screen, chromaStyle *chroma.Style, chrom
// Without this the line numbers setting ^ won't take effect
p.redraw(spinner)

log.Info("Exiting because of --quit-if-one-screen, we fit on one screen and we're done")

break
}
}
Expand Down

0 comments on commit dab437c

Please sign in to comment.