Update module github.com/gdamore/tcell/v2 to v2.7.0 #16
							
								
								
									
										10
									
								
								ui/mock.go
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								ui/mock.go
									
									
									
									
									
								
							@@ -82,6 +82,10 @@ func (m *MockScreen) EnablePaste() {}
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
func (m *MockScreen) DisablePaste() {}
 | 
					func (m *MockScreen) DisablePaste() {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func (m *MockScreen) EnableFocus() {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func (m *MockScreen) DisableFocus() {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func (m *MockScreen) HasMouse() bool {
 | 
					func (m *MockScreen) HasMouse() bool {
 | 
				
			||||||
	return false
 | 
						return false
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@@ -122,6 +126,12 @@ func (m *MockScreen) Beep() error {
 | 
				
			|||||||
	return nil
 | 
						return nil
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func (m *MockScreen) LockRegion(x, y, width, height int, lock bool) {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					func (m *MockScreen) Tty() (tcell.Tty, bool) {
 | 
				
			||||||
 | 
						return nil, false
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func (m *MockScreen) DumpContents() string {
 | 
					func (m *MockScreen) DumpContents() string {
 | 
				
			||||||
	var res string
 | 
						var res string
 | 
				
			||||||
	for i := m.y; i < m.h; i++ {
 | 
						for i := m.y; i < m.h; i++ {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user