Slightly cover bootstrap, to increase more and more coverage. Ensure that there is no associated shell
This commit is contained in:
		@@ -27,10 +27,9 @@ class MenuDisplay(Display):
 | 
			
		||||
        self.pad.addstr(self.menu.position, 0, ">")
 | 
			
		||||
 | 
			
		||||
    def display(self) -> None:
 | 
			
		||||
        if self.height - 2 >= self.menu.position - 1:
 | 
			
		||||
            cornery = 0
 | 
			
		||||
        elif self.height - 2 >= self.trueheight - self.menu.position:
 | 
			
		||||
            cornery = self.trueheight - self.height + 2
 | 
			
		||||
        cornery = 0 if self.height - 2 >= self.menu.position - 1 \
 | 
			
		||||
            else self.trueheight - self.height + 2 \
 | 
			
		||||
            if self.height - 2 >= self.trueheight - self.menu.position else 0
 | 
			
		||||
 | 
			
		||||
        # Menu box
 | 
			
		||||
        self.menubox.addstr(0, 0, "┏" + "━" * (self.width - 2) + "┓")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user