|
|
@@ -48,7 +48,7 @@ func main() {
|
|
|
channelsList = ui.NewChannelsList(onChannelsListSelected)
|
|
|
messagesTextView = ui.NewMessagesTextView(onMessagesTextViewChanged)
|
|
|
mainFlex = ui.NewMainFlex(guildsDropDown, channelsList, messagesTextView)
|
|
|
- app = ui.NewApp(onAppInputCapture)
|
|
|
+ app = ui.NewApp()
|
|
|
|
|
|
token := util.GetPassword("token")
|
|
|
if token != "" {
|
|
|
@@ -66,10 +66,6 @@ func main() {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-func onAppInputCapture(event *tcell.EventKey) *tcell.EventKey {
|
|
|
- return event
|
|
|
-}
|
|
|
-
|
|
|
func onLoginFormQuitButtonSelected() {
|
|
|
app.Stop()
|
|
|
}
|