this is still just a basic POC step for learning the library, but it works, now just to understand some stuff
		
			
				
	
	
		
			13 lines
		
	
	
		
			400 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			400 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| """UI elements for the npytabletracker application."""
 | |
| import npyscreen
 | |
| 
 | |
| from npytabletracker.cmd import ManagementActionController
 | |
| from npytabletracker.data import TableState
 | |
| 
 | |
| 
 | |
| class TableTrackerDisplay(npyscreen.FormMuttActiveTraditional):
 | |
|     """Create the high level form, which is organized like mutt/irssi."""
 | |
| 
 | |
|     ACTION_CONTROLLER = ManagementActionController
 | |
|     DATA_CONTROLER = TableState
 |