diff options
author | TingPing <tingping@tingping.se> | 2015-02-01 16:37:27 -0500 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2015-02-02 02:56:08 -0500 |
commit | afee9fd42b95274d71c76351349b9bf2090632c5 (patch) | |
tree | c5d292f2d9bae061f75196716be924ebbcbc054d /src/common/plugin.h | |
parent | 60fa7efbc861cc6b6d6ff0f619a16ed79025cb12 (diff) |
Only send utf8 string in Key Press event
Fixes #869
Diffstat (limited to 'src/common/plugin.h')
-rw-r--r-- | src/common/plugin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/plugin.h b/src/common/plugin.h index cd3f70a8..db0054cb 100644 --- a/src/common/plugin.h +++ b/src/common/plugin.h @@ -174,7 +174,7 @@ int plugin_emit_server (session *sess, char *name, char *word[], char *word_eol[ time_t server_time); int plugin_emit_print (session *sess, char *word[], time_t server_time); int plugin_emit_dummy_print (session *sess, char *name); -int plugin_emit_keypress (session *sess, unsigned int state, unsigned int keyval, int len, char *string); +int plugin_emit_keypress (session *sess, unsigned int state, unsigned int keyval, gunichar key); GList* plugin_command_list(GList *tmp_list); int plugin_show_help (session *sess, char *cmd); void plugin_command_foreach (session *sess, void *userdata, void (*cb) (session *sess, void *userdata, char *name, char *usage)); |