mirror of
https://github.com/mum4k/termdash.git
synced 2025-04-25 13:48:50 +08:00
Fix linting
This commit is contained in:
parent
c8ffedc2b8
commit
1af531975d
@ -182,9 +182,8 @@ func toTermdashEvents(event tcell.Event) []terminalapi.Event {
|
||||
mouseEvent := convMouse(event)
|
||||
if mouseEvent != nil {
|
||||
return []terminalapi.Event{mouseEvent}
|
||||
} else {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
case *tcell.EventResize:
|
||||
return []terminalapi.Event{convResize(event)}
|
||||
case *tcell.EventError:
|
||||
|
Loading…
x
Reference in New Issue
Block a user