This repository has been archived by the owner on Nov 22, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 #636
- Loading branch information
Showing
6 changed files
with
34 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.