1
1
mirror of https://github.com/walles/moar.git synced 2024-08-16 23:40:35 +03:00

Used to exit pager on < 1 screen of contents

This commit is contained in:
Johan Walles 2024-01-03 11:02:59 +01:00
parent fdbbf4d1ca
commit de5cd653fb

View File

@ -42,7 +42,7 @@ type Reader struct {
replaced bool replaced bool
done *atomic.Bool done *atomic.Bool
highlightingDone *atomic.Bool // FIXME: Do we really need this? highlightingDone *atomic.Bool
// For telling the UI it should recheck the --quit-if-one-screen conditions. // For telling the UI it should recheck the --quit-if-one-screen conditions.
// Signalled when either highlighting is done or reading is done. // Signalled when either highlighting is done or reading is done.