Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Fix(pager): Resolve background color before staring pager #650

Merged
merged 1 commit into from
Mar 11, 2021

Commits on Mar 11, 2021

  1. fix(utils): Resolve bgColor before pager starts

    So far we have started the pager and then got background color glamour
    style from enviorment.
    
    If enviorment value is not set it defaults to auto. Which in turn uses
    termenv to resolve background color using some terminal escape code
    sequences. The problem with this is that doing this when a pager like
    less is running, just doesn't work and leaves less in a broken state.
    
    To fix this we are now checking the background color manually and before
    we start the pager.
    
    Issue profclems#636
    zemzale committed Mar 11, 2021
    Configuration menu
    Copy the full SHA
    be467fa View commit details
    Browse the repository at this point in the history