{"action":"opened","issue":{"url":"https://api.github.com/repos/weechat/weechat/issues/617","labels_url":"https://api.github.com/repos/weechat/weechat/issues/617/labels{/name}","comments_url":"https://api.github.com/repos/weechat/weechat/issues/617/comments","events_url":"https://api.github.com/repos/weechat/weechat/issues/617/events","html_url":"https://github.com/weechat/weechat/issues/617","id":120013406,"number":617,"title":"gui: long words split across lines can't be quoted in cursor mode","user":{"login":"sim642","id":378740,"avatar_url":"https://avatars.githubusercontent.com/u/378740?v=3","gravatar_id":"","url":"https://api.github.com/users/sim642","html_url":"https://github.com/sim642","followers_url":"https://api.github.com/users/sim642/followers","following_url":"https://api.github.com/users/sim642/following{/other_user}","gists_url":"https://api.github.com/users/sim642/gists{/gist_id}","starred_url":"https://api.github.com/users/sim642/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sim642/subscriptions","organizations_url":"https://api.github.com/users/sim642/orgs","repos_url":"https://api.github.com/users/sim642/repos","events_url":"https://api.github.com/users/sim642/events{/privacy}","received_events_url":"https://api.github.com/users/sim642/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-02T19:06:35Z","updated_at":"2015-12-02T19:06:35Z","closed_at":null,"body":"Consider being in cursor mode and having the cursor on the character marked within the green box:\r\n![screenshot - 02 12 2015 - 20 57 01_2](https://cloud.githubusercontent.com/assets/378740/11540842/acba8678-9937-11e5-88b7-f3f0b3b2e5f4.png)\r\nPressing `m` to quote the message will lead to only a single space being inserted into the input bar, not the whole URL as expected.\r\n\r\nThis seems to be caused by `line` pointer being `NULL` in `t_gui_window_coords` even though `data` is set and only happens for lines which start with an aggressive mid-word split.\r\n\r\n*I encountered this issue during the fixing of #610.*\r\n"}}