mirror of
				https://github.com/sharkdp/bat.git
				synced 2025-11-04 00:51:56 +00:00 
			
		
		
		
	Fix typo and clarify description
This commit is contained in:
		@@ -674,8 +674,8 @@ The `-F` option instructs `less` to exit immediately if the output size is small
 | 
				
			|||||||
the vertical size of the terminal. This is convenient for small files because you do not
 | 
					the vertical size of the terminal. This is convenient for small files because you do not
 | 
				
			||||||
have to press `q` to quit the pager.
 | 
					have to press `q` to quit the pager.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
The `-K` option instructs `less` to exit immediately when an interrupt character is received.
 | 
					The `-K` option instructs `less` to exit immediately when an interrupt signal is received.
 | 
				
			||||||
This is useful to ensure that `less` quits together with `bat` on interrupt characters.
 | 
					This is useful to ensure that `less` quits together with `bat` on SIGINT.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
The `-X` option is needed to fix a bug with the `--quit-if-one-screen` feature in versions
 | 
					The `-X` option is needed to fix a bug with the `--quit-if-one-screen` feature in versions
 | 
				
			||||||
of `less` older than version 530. Unfortunately, it also breaks mouse-wheel support in `less`.
 | 
					of `less` older than version 530. Unfortunately, it also breaks mouse-wheel support in `less`.
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -94,7 +94,7 @@ impl OutputType {
 | 
				
			|||||||
                }
 | 
					                }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                // Ensures that 'less' quits together with 'bat'
 | 
					                // Ensures that 'less' quits together with 'bat'
 | 
				
			||||||
                p.arg("-K"); // Sort version of ' --quit-on-intr'
 | 
					                p.arg("-K"); // Short version of '--quit-on-intr'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                // Passing '--no-init' fixes a bug with '--quit-if-one-screen' in older
 | 
					                // Passing '--no-init' fixes a bug with '--quit-if-one-screen' in older
 | 
				
			||||||
                // versions of 'less'. Unfortunately, it also breaks mouse-wheel support.
 | 
					                // versions of 'less'. Unfortunately, it also breaks mouse-wheel support.
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user