{"action":"created","issue":{"url":"https://api.github.com/repos/Maximus5/ConEmu/issues/1007","repository_url":"https://api.github.com/repos/Maximus5/ConEmu","labels_url":"https://api.github.com/repos/Maximus5/ConEmu/issues/1007/labels{/name}","comments_url":"https://api.github.com/repos/Maximus5/ConEmu/issues/1007/comments","events_url":"https://api.github.com/repos/Maximus5/ConEmu/issues/1007/events","html_url":"https://github.com/Maximus5/ConEmu/issues/1007","id":199393585,"number":1007,"title":"Escape Sequences generated for Mouse Scrolling","user":{"login":"erichiller","id":5379325,"avatar_url":"https://avatars.githubusercontent.com/u/5379325?v=3","gravatar_id":"","url":"https://api.github.com/users/erichiller","html_url":"https://github.com/erichiller","followers_url":"https://api.github.com/users/erichiller/followers","following_url":"https://api.github.com/users/erichiller/following{/other_user}","gists_url":"https://api.github.com/users/erichiller/gists{/gist_id}","starred_url":"https://api.github.com/users/erichiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erichiller/subscriptions","organizations_url":"https://api.github.com/users/erichiller/orgs","repos_url":"https://api.github.com/users/erichiller/repos","events_url":"https://api.github.com/users/erichiller/events{/privacy}","received_events_url":"https://api.github.com/users/erichiller/received_events","type":"User","site_admin":false},"labels":[{"id":391510042,"url":"https://api.github.com/repos/Maximus5/ConEmu/labels/ansi","name":"ansi","color":"0052cc","default":false},{"id":270643718,"url":"https://api.github.com/repos/Maximus5/ConEmu/labels/other-vim","name":"other-vim","color":"bfe5bf","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2017-01-08T00:14:34Z","updated_at":"2017-01-09T22:55:45Z","closed_at":null,"body":"\r\nConEmu build: 161206x64\r\nOS version: Windows 10x64\r\nPowershell, and vim launched directly.\r\n\r\n### Problem description\r\n\r\nI have been trying to get Scrolling (via the mouse scroll wheel) in ViM (not GVIM) on Windows to work for some time now and have been entirely unsuccessful.\r\n\r\nI have ANSI enabled in ConEmu and the following in my `.vimrc` (These are some of the options tried so far):\r\n```viml\r\n\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\r\n\" let mouse wheel scroll file contents\r\n\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\r\n\" if !has(\"gui_running\")\r\n    \" behave xterm\r\n    \" set term=xterm\r\n    set mouse=a\r\n    set nocompatible\r\n    \" inoremap <Esc>[62~ <C-X><C-E>\r\n    \" inoremap <Esc>[63~ <C-X><C-Y>\r\n    \" nnoremap <Esc>[62~ <C-E>\r\n    \" nnoremap <Esc>[63~ <C-Y>\r\n    \" map <MouseDown> <C-Y>\r\n    \" map <S-MouseDown> <C-U>\r\n    \" map <MouseUp> <C-E>\r\n    \" map <S-MouseUp> <C-D>\r\n\" map <ScrollWheelUp> <C-Y>\r\n\" map <ScrollWheelDown> <C-E>\r\n\r\n\r\n    :map <M-Esc>[62~ <ScrollWheelUp>\r\n    \" :map <Esc>[62~ <ScrollWheelUp>\r\n    inoremap <M-Esc>[62~ <ScrollWheelUp>\r\n    nnoremap <M-Esc>[62~ <ScrollWheelUp>\r\n    :map j <ScrollWheelUp>\r\n    \" :map! <M-Esc>[62~ <ScrollWheelUp>\r\n \r\n    :map <M-Esc>[63~ <ScrollWheelDown>\r\n    \" :map <Esc>[63~ <ScrollWheelDown>\r\n    inoremap <M-Esc>[63~ <ScrollWheelDown>\r\n    nnoremap <M-Esc>[63~ <ScrollWheelDown>\r\n    :map h <ScrollWheelDown>\r\n    \" :map! <M-Esc>[63~ <ScrollWheelDown>\r\n \r\n    \" :map <M-Esc>[64~ <S-ScrollWheelUp>\r\n    \" :map! <M-Esc>[64~ <S-ScrollWheelUp>\r\n    \" :map <M-Esc>[65~ <S-ScrollWheelDown>\r\n    \" :map! <M-Esc>[65~ <S-ScrollWheelDown>\r\n\r\n\r\n\r\n    \" echom \"no gui, setting up scrolling\"\r\n\" endif\r\n```\r\n\r\nI've tried with and without `set term=xterm` commented, with term set to `xterm` no coloring works in ViM. I can move the cursor on the line by clicking in ViM.\r\n\r\nI have tried executing ViM directly as a task within ConEmu (running directly under _conhost_) and normally under _Powershell_.\r\n\r\nAlso, I've tried the newest ViM (8.0-142 x64) and the newest 7.4 x86 as well.\r\n\r\nI tried with and without plugins on vim, and a blank/default configuration on ConEmu to cover all my bases.\r\n\r\nTo test further, I created a pair of ConEmu macros with mouse down -> print(\"h\")\r\nand mouse up -> print(\"j\"); this actually had scrolling working, but seems a terrible hack!\r\n\r\nIs it possible to *view the raw ANSI from the mouse*? I know I can do this for keyboard input from the `debug > input menu`, but not for mouse input. \r\n\r\nIt seems ConEmu simply isn't sending the ANSI codes to vim?\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Maximus5/ConEmu/issues/comments/271434460","html_url":"https://github.com/Maximus5/ConEmu/issues/1007#issuecomment-271434460","issue_url":"https://api.github.com/repos/Maximus5/ConEmu/issues/1007","id":271434460,"user":{"login":"Maximus5","id":1222388,"avatar_url":"https://avatars.githubusercontent.com/u/1222388?v=3","gravatar_id":"","url":"https://api.github.com/users/Maximus5","html_url":"https://github.com/Maximus5","followers_url":"https://api.github.com/users/Maximus5/followers","following_url":"https://api.github.com/users/Maximus5/following{/other_user}","gists_url":"https://api.github.com/users/Maximus5/gists{/gist_id}","starred_url":"https://api.github.com/users/Maximus5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Maximus5/subscriptions","organizations_url":"https://api.github.com/users/Maximus5/orgs","repos_url":"https://api.github.com/users/Maximus5/repos","events_url":"https://api.github.com/users/Maximus5/events{/privacy}","received_events_url":"https://api.github.com/users/Maximus5/received_events","type":"User","site_admin":false},"created_at":"2017-01-09T22:55:45Z","updated_at":"2017-01-09T22:55:45Z","body":"Please redo logs (with mouse wheeling) on this test build:\r\nhttps://www.dropbox.com/s/f6xwg9kl5kl0tvr/ConEmu.exe.170109.7z?dl=0"}}
{"actor":{"display_login":"Maximus5"}}