{"action":"created","issue":{"url":"https://api.github.com/repos/tmux/tmux/issues/309","repository_url":"https://api.github.com/repos/tmux/tmux","labels_url":"https://api.github.com/repos/tmux/tmux/issues/309/labels{/name}","comments_url":"https://api.github.com/repos/tmux/tmux/issues/309/comments","events_url":"https://api.github.com/repos/tmux/tmux/issues/309/events","html_url":"https://github.com/tmux/tmux/issues/309","id":133822314,"number":309,"title":"send-keys command with shift modifiers doesn't work?","user":{"login":"dtreiter","id":1744263,"avatar_url":"https://avatars.githubusercontent.com/u/1744263?v=3","gravatar_id":"","url":"https://api.github.com/users/dtreiter","html_url":"https://github.com/dtreiter","followers_url":"https://api.github.com/users/dtreiter/followers","following_url":"https://api.github.com/users/dtreiter/following{/other_user}","gists_url":"https://api.github.com/users/dtreiter/gists{/gist_id}","starred_url":"https://api.github.com/users/dtreiter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtreiter/subscriptions","organizations_url":"https://api.github.com/users/dtreiter/orgs","repos_url":"https://api.github.com/users/dtreiter/repos","events_url":"https://api.github.com/users/dtreiter/events{/privacy}","received_events_url":"https://api.github.com/users/dtreiter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-02-15T21:34:23Z","updated_at":"2016-02-17T19:36:20Z","closed_at":null,"body":"Is it possible to use a shift modifier with the send-keys command?\r\n\r\nFor example:\r\n```$ tmux send-keys S-a```\r\n\r\nI would expect this to send a capital 'A'. This doesn't seem to send any key events though. The other modifiers and special keys work fine.\r\n\r\nJust skimming over this seems like shift modifiers should be supported:\r\nhttps://github.com/tmux/tmux/blob/dc42c35f1f04d3bd431c52dde0906965c6db2d6c/key-string.c#L130-L134"},"comment":{"url":"https://api.github.com/repos/tmux/tmux/issues/comments/185369061","html_url":"https://github.com/tmux/tmux/issues/309#issuecomment-185369061","issue_url":"https://api.github.com/repos/tmux/tmux/issues/309","id":185369061,"user":{"login":"nicm","id":304243,"avatar_url":"https://avatars.githubusercontent.com/u/304243?v=3","gravatar_id":"","url":"https://api.github.com/users/nicm","html_url":"https://github.com/nicm","followers_url":"https://api.github.com/users/nicm/followers","following_url":"https://api.github.com/users/nicm/following{/other_user}","gists_url":"https://api.github.com/users/nicm/gists{/gist_id}","starred_url":"https://api.github.com/users/nicm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicm/subscriptions","organizations_url":"https://api.github.com/users/nicm/orgs","repos_url":"https://api.github.com/users/nicm/repos","events_url":"https://api.github.com/users/nicm/events{/privacy}","received_events_url":"https://api.github.com/users/nicm/received_events","type":"User","site_admin":false},"created_at":"2016-02-17T19:36:19Z","updated_at":"2016-02-17T19:36:19Z","body":"It is isn't really that complex, basically there are no shift keys apart\nfrom function keys and arrow keys.\n\ntmux pretends like there is such a key as S-a internally, because it\nneeds to pretend Shift is a general modifier to represent real keys like\nS-F1.\n\nBut actually there is no key S-a, it is just A. And no key S-Tab, it is\njust BTab, and so on.\n\nThe same really applies to Ctrl, in almost all terminals there is no\nsuch key C-S-a, it is just the same as C-a.\n\nAnd for example things like C-\" don't exist, but it makes more sense for\ntmux just to treat it as if Ctrl can be applied to any key even if it\ndoesn't actually exist\n\n\n\nOn Wed, Feb 17, 2016 at 11:16:06AM -0800, Daniel Reiter wrote:\n>    Thanks for the tip. That resolves my biggest use case.\n> \n>    I'm still kind of confused on what the S- modifier is supposed to do. I\n>    realize that the way terminals handle shift is complex for certain keys\n>    though. Also, my use case is likely uncommon.\n> \n>    I'm fine if you want to close this issue now.\n> \n>    Thanks\n> \n>    --\n>    Reply to this email directly or [1]view it on GitHub.\n> \n>    Reverse link: [2]unknown\n> \n> References\n> \n>    Visible links\n>    1. https://github.com/tmux/tmux/issues/309#issuecomment-185357624\n>    2. https://github.com/tmux/tmux/issues/309#issuecomment-185357624\n"}}