Skip to content

Instantly share code, notes, and snippets.

@olabini
Created March 26, 2016 14:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save olabini/9a15ed8f6abb33177536 to your computer and use it in GitHub Desktop.
Save olabini/9a15ed8f6abb33177536 to your computer and use it in GitHub Desktop.
diff --git a/gui/conversation.go b/gui/conversation.go
index cfde96d..18117c6 100644
--- a/gui/conversation.go
+++ b/gui/conversation.go
@@ -261,6 +261,7 @@ func createConversationPane(account *account, uid string, ui *gtkUI, transientPa
}
func (a *account) isInsertEnter(evk gdki.EventKey) bool {
+ log.Printf("isInsertEnter(state=%v, keyVal=%v)", evk.State(), evk.KeyVal())
return evk.State()&uint(gdki.GDK_SHIFT_MASK) != 0 && hasEnter(evk)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment