mirror of
				https://github.com/ClementTsang/bottom.git
				synced 2025-10-31 03:04:01 +01:00 
			
		
		
		
	[skip travis] Minor README and help updates to be more clear.
This commit is contained in:
		
							parent
							
								
									396360cdbf
								
							
						
					
					
						commit
						726006dbec
					
				| @ -47,7 +47,7 @@ Currently, I'm unable to really dev or test on MacOS, so I'm not sure how well t | |||||||
| 
 | 
 | ||||||
| - `q`, `Ctrl-C` to quit. | - `q`, `Ctrl-C` to quit. | ||||||
| 
 | 
 | ||||||
| - `f` to freeze updating. Press `f` again to unfreeze. Note updating will still continue in the background. | - `f` to freeze the screen from updating with new data. Press `f` again to unfreeze. Note that monitoring will still continue in the background. | ||||||
| 
 | 
 | ||||||
| - `Up/k`, `Down/j`, `Left/h`, `Right/l` to navigate between panels. | - `Up/k`, `Down/j`, `Left/h`, `Right/l` to navigate between panels. | ||||||
| 
 | 
 | ||||||
| @ -55,7 +55,7 @@ Currently, I'm unable to really dev or test on MacOS, so I'm not sure how well t | |||||||
| 
 | 
 | ||||||
| - `Esc` to close a dialog window. | - `Esc` to close a dialog window. | ||||||
| 
 | 
 | ||||||
| - `?` to get a help screen explaining the controls. | - `?` to get a help screen explaining the controls. Note all controls except `Esc` to close the dialog will be disabled while this is open. | ||||||
| 
 | 
 | ||||||
| #### Processes Panel | #### Processes Panel | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -66,7 +66,7 @@ pub fn draw_data<B : backend::Backend>(terminal : &mut Terminal<B>, app_state : | |||||||
| 				Text::raw("Shift+Up and Shift+Down scrolls through the list.\n"), | 				Text::raw("Shift+Up and Shift+Down scrolls through the list.\n"), | ||||||
| 				Text::raw("Esc to close a dialog window (help or dd confirmation).\n"), | 				Text::raw("Esc to close a dialog window (help or dd confirmation).\n"), | ||||||
| 				Text::raw("? to get this help screen.\n"), | 				Text::raw("? to get this help screen.\n"), | ||||||
| 				Text::raw("\nProcess Panel Keybinds\n"), | 				Text::raw("\n Process Panel Keybinds\n"), | ||||||
| 				Text::raw("dd to kill the selected process.\n"), | 				Text::raw("dd to kill the selected process.\n"), | ||||||
| 				Text::raw("c to sort by CPU usage.\n"), | 				Text::raw("c to sort by CPU usage.\n"), | ||||||
| 				Text::raw("m to sort by memory usage.\n"), | 				Text::raw("m to sort by memory usage.\n"), | ||||||
| @ -75,7 +75,7 @@ pub fn draw_data<B : backend::Backend>(terminal : &mut Terminal<B>, app_state : | |||||||
| 			]; | 			]; | ||||||
| 
 | 
 | ||||||
| 			Paragraph::new(text.iter()) | 			Paragraph::new(text.iter()) | ||||||
| 				.block(Block::default().title("Help").borders(Borders::ALL)) | 				.block(Block::default().title("Help (Press Esc to close)").borders(Borders::ALL)) | ||||||
| 				.style(Style::default().fg(Color::Gray)) | 				.style(Style::default().fg(Color::Gray)) | ||||||
| 				.alignment(Alignment::Left) | 				.alignment(Alignment::Left) | ||||||
| 				.wrap(true) | 				.wrap(true) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user