{"action":"created","issue":{"url":"https://api.github.com/repos/vim-jp/issues/issues/751","labels_url":"https://api.github.com/repos/vim-jp/issues/issues/751/labels{/name}","comments_url":"https://api.github.com/repos/vim-jp/issues/issues/751/comments","events_url":"https://api.github.com/repos/vim-jp/issues/issues/751/events","html_url":"https://github.com/vim-jp/issues/issues/751","id":98282515,"number":751,"title":"Windows10 の vim.exe で IME エコーバックが機能しない","user":{"login":"ntak","id":7880034,"avatar_url":"https://avatars.githubusercontent.com/u/7880034?v=3","gravatar_id":"","url":"https://api.github.com/users/ntak","html_url":"https://github.com/ntak","followers_url":"https://api.github.com/users/ntak/followers","following_url":"https://api.github.com/users/ntak/following{/other_user}","gists_url":"https://api.github.com/users/ntak/gists{/gist_id}","starred_url":"https://api.github.com/users/ntak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ntak/subscriptions","organizations_url":"https://api.github.com/users/ntak/orgs","repos_url":"https://api.github.com/users/ntak/repos","events_url":"https://api.github.com/users/ntak/events{/privacy}","received_events_url":"https://api.github.com/users/ntak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-30T23:01:28Z","updated_at":"2015-07-30T23:13:28Z","closed_at":null,"body":"速攻解決\r\n````\r\ndiff --git a/src/os_win32.c b/src/os_win32.c\r\nindex 1e1214b..0090405 100644\r\n--- a/src/os_win32.c\r\n+++ b/src/os_win32.c\r\n@@ -3774,6 +3774,9 @@ mch_settmode(int tmode)\r\n \r\n     GetConsoleMode(g_hConIn, &cmodein);\r\n     GetConsoleMode(g_hConOut, &cmodeout);\r\n+\r\n+    cmodein &= ~(0x0080); /* ENABLE_EXTENDED_FLAGS */\r\n+\r\n     if (tmode == TMODE_RAW)\r\n     {\r\n \tcmodein &= ~(ENABLE_LINE_INPUT | ENABLE_PROCESSED_INPUT |\r\n````\r\n過去未使用ビットであった Win10 で追加されたフラグを潰しています。\r\nこの方法だと OS に依存しないはずです。\r\n今わたしの手元には Windows10 しかないので他の OS での動作確認は必要かもしれません。"},"comment":{"url":"https://api.github.com/repos/vim-jp/issues/issues/comments/126517122","html_url":"https://github.com/vim-jp/issues/issues/751#issuecomment-126517122","issue_url":"https://api.github.com/repos/vim-jp/issues/issues/751","id":126517122,"user":{"login":"k-takata","id":840186,"avatar_url":"https://avatars.githubusercontent.com/u/840186?v=3","gravatar_id":"","url":"https://api.github.com/users/k-takata","html_url":"https://github.com/k-takata","followers_url":"https://api.github.com/users/k-takata/followers","following_url":"https://api.github.com/users/k-takata/following{/other_user}","gists_url":"https://api.github.com/users/k-takata/gists{/gist_id}","starred_url":"https://api.github.com/users/k-takata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k-takata/subscriptions","organizations_url":"https://api.github.com/users/k-takata/orgs","repos_url":"https://api.github.com/users/k-takata/repos","events_url":"https://api.github.com/users/k-takata/events{/privacy}","received_events_url":"https://api.github.com/users/k-takata/received_events","type":"User","site_admin":false},"created_at":"2015-07-30T23:13:28Z","updated_at":"2015-07-30T23:13:28Z","body":"`tmode == TMODE_RAW`かどうかに関わらず、フラグを落とすのですか？"}}