mirror of
				https://github.com/sharkdp/bat.git
				synced 2025-11-04 00:51:56 +00:00 
			
		
		
		
	Add flag to less to enable quitting on Ctrl-C
This commit is contained in:
		@@ -93,6 +93,9 @@ impl OutputType {
 | 
			
		||||
                    p.arg("-S"); // Short version of --chop-long-lines for compatibility
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
                // Ensures that 'less' quits together with 'bat'
 | 
			
		||||
                p.arg("-K"); // Sort version of ' --quit-on-intr'
 | 
			
		||||
 | 
			
		||||
                // Passing '--no-init' fixes a bug with '--quit-if-one-screen' in older
 | 
			
		||||
                // versions of 'less'. Unfortunately, it also breaks mouse-wheel support.
 | 
			
		||||
                //
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user