Leave room for topic when creating view
This commit is contained in:
		
							parent
							
								
									a281f89592
								
							
						
					
					
						commit
						24ca3aed81
					
				
							
								
								
									
										2
									
								
								ui.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								ui.c
									
									
									
									
									
								
							@ -123,7 +123,7 @@ static struct View *viewTag(struct Tag tag) {
 | 
				
			|||||||
	view->log = newpad(LOG_LINES, COLS);
 | 
						view->log = newpad(LOG_LINES, COLS);
 | 
				
			||||||
	wsetscrreg(view->log, 0, lastLogLine());
 | 
						wsetscrreg(view->log, 0, lastLogLine());
 | 
				
			||||||
	scrollok(view->log, true);
 | 
						scrollok(view->log, true);
 | 
				
			||||||
	wmove(view->log, lastLogLine() - logHeight(view), 0);
 | 
						wmove(view->log, lastLogLine() - logHeight(view) + 2, 0);
 | 
				
			||||||
	view->scroll = LOG_LINES;
 | 
						view->scroll = LOG_LINES;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	viewAppend(view);
 | 
						viewAppend(view);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user