{"action":"opened","issue":{"url":"https://api.github.com/repos/weechat/scripts/issues/164","repository_url":"https://api.github.com/repos/weechat/scripts","labels_url":"https://api.github.com/repos/weechat/scripts/issues/164/labels{/name}","comments_url":"https://api.github.com/repos/weechat/scripts/issues/164/comments","events_url":"https://api.github.com/repos/weechat/scripts/issues/164/events","html_url":"https://github.com/weechat/scripts/issues/164","id":165236038,"number":164,"title":"[multiline.pl] Swap default key behavior?","user":{"login":"williamleuschner","id":3890810,"avatar_url":"https://avatars.githubusercontent.com/u/3890810?v=3","gravatar_id":"","url":"https://api.github.com/users/williamleuschner","html_url":"https://github.com/williamleuschner","followers_url":"https://api.github.com/users/williamleuschner/followers","following_url":"https://api.github.com/users/williamleuschner/following{/other_user}","gists_url":"https://api.github.com/users/williamleuschner/gists{/gist_id}","starred_url":"https://api.github.com/users/williamleuschner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/williamleuschner/subscriptions","organizations_url":"https://api.github.com/users/williamleuschner/orgs","repos_url":"https://api.github.com/users/williamleuschner/repos","events_url":"https://api.github.com/users/williamleuschner/events{/privacy}","received_events_url":"https://api.github.com/users/williamleuschner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-13T04:42:58Z","updated_at":"2016-07-13T04:42:58Z","closed_at":null,"body":"I tried to contact the original author of this script to request this enhancement, but I was unable to locate an e-mail address, and the domain of the Jabber conference server listed in this and some of his other works failed to resolve.  \r\nWould it be possible to add a configuration option to this script that swaps the default key behavior? Right now, it inserts a newline on `enter` and requires a different key (the provided example is `meta-s`) or timeout to actually send the message. This proposed enhancement would change that behavior to require a key combo (`meta-enter`, perhaps?) to insert a newline and just `enter` to send the message.  \r\nFrom a pure usability standpoint, this seems to me like a logical enhancement. In my experience, I send far more single-line messages than multi-line messages, so an additional key combo to send single-line messages (or a timeout) tends to be frustrating.  \r\nI would attempt this enhancement myself, but I don't know Perl and I'm a little too busy to figure out a new language right now :smiley:.  \r\nAlthough I don't think this matters in an enhancement request, my Weechat version is `WeeChat 1.5 [compiled on May 15 2016 23:23:30]` and I am running it on OS X 10.11.5 through homebrew."}}
{"actor":{"display_login":"williamleuschner"}}