1
0
mirror of https://github.com/mum4k/termdash.git synced 2025-04-25 13:48:50 +08:00

Fix linting

This commit is contained in:
kvnxiao 2020-03-01 01:25:50 -05:00
parent c8ffedc2b8
commit 1af531975d

View File

@ -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: