mirror of
				https://github.com/felixalbrigtsen/cprint-python.git
				synced 2025-10-31 09:18:03 +01:00 
			
		
		
		
	Clarify comments
This commit is contained in:
		
							parent
							
								
									53ab16c54a
								
							
						
					
					
						commit
						e1b00c2aac
					
				| @ -1,7 +1,10 @@ | |||||||
| # Felix Albrigtsen 2021 | # Felix Albrigtsen 2021 | ||||||
| 
 | 
 | ||||||
|  | #Usage: cprint("%MARKERS[, ..]% text"). | ||||||
|  | #Example: cprint("%b,U% This is blue and underlined") | ||||||
| 
 | 
 | ||||||
| #Consider putting the \u001b[ outside, only store changing parts | #Consider hardcoding \u001b[ in getSequence(), only store the variable part in a dict | ||||||
|  | #Currently keeping it this way to avoid hardcoding, simplify adapting to other terminals. | ||||||
| escSeq = { | escSeq = { | ||||||
|     # Modifiers: |     # Modifiers: | ||||||
|     "B": "\u001b[1m",      #Bold |     "B": "\u001b[1m",      #Bold | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 GitHub
							GitHub