mirror of
				https://github.com/cheat/cheat.git
				synced 2025-11-04 07:45:28 +01:00 
			
		
		
		
	feat(pagination): implement paginated output
Implement a `pager` config option. If configured, `cheat` will automatically pipe output through the configured pager (where appropriate).
This commit is contained in:
		@@ -14,6 +14,9 @@ style: monokai
 | 
			
		||||
# One of: "terminal", "terminal256", "terminal16m"
 | 
			
		||||
formatter: terminal16m
 | 
			
		||||
 | 
			
		||||
# Through which pager should output be piped? (Unset this key for no pager.)
 | 
			
		||||
pager: less -FRX
 | 
			
		||||
 | 
			
		||||
# The paths at which cheatsheets are available. Tags associated with a cheatpath
 | 
			
		||||
# are automatically attached to all cheatsheets residing on that path.
 | 
			
		||||
#
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user