{"action":"created","issue":{"url":"https://api.github.com/repos/vim-jp/issues/issues/732","labels_url":"https://api.github.com/repos/vim-jp/issues/issues/732/labels{/name}","comments_url":"https://api.github.com/repos/vim-jp/issues/issues/732/comments","events_url":"https://api.github.com/repos/vim-jp/issues/issues/732/events","html_url":"https://github.com/vim-jp/issues/issues/732","id":73940046,"number":732,"title":"vim.exe を起動する際、起動前にコンソールに表示されたワイド文字が終了後に復元されない","user":{"login":"mattn","id":10111,"avatar_url":"https://avatars.githubusercontent.com/u/10111?v=3","gravatar_id":"","url":"https://api.github.com/users/mattn","html_url":"https://github.com/mattn","followers_url":"https://api.github.com/users/mattn/followers","following_url":"https://api.github.com/users/mattn/following{/other_user}","gists_url":"https://api.github.com/users/mattn/gists{/gist_id}","starred_url":"https://api.github.com/users/mattn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattn/subscriptions","organizations_url":"https://api.github.com/users/mattn/orgs","repos_url":"https://api.github.com/users/mattn/repos","events_url":"https://api.github.com/users/mattn/events{/privacy}","received_events_url":"https://api.github.com/users/mattn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vim-jp/issues/labels/kind/bug","name":"kind/bug","color":"e10c02"},{"url":"https://api.github.com/repos/vim-jp/issues/labels/related/windows","name":"related/windows","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-05-07T10:51:31Z","updated_at":"2015-05-25T02:45:36Z","closed_at":null,"body":"![](http://go-gyazo.appspot.com/b0b74367ac3bc198.png)\r\n\r\nvim.exe を起動して終了\r\n\r\n![](http://go-gyazo.appspot.com/cd4bbe024a70d35c.png)\r\n"},"comment":{"url":"https://api.github.com/repos/vim-jp/issues/issues/comments/105099065","html_url":"https://github.com/vim-jp/issues/issues/732#issuecomment-105099065","issue_url":"https://api.github.com/repos/vim-jp/issues/issues/732","id":105099065,"user":{"login":"mattn","id":10111,"avatar_url":"https://avatars.githubusercontent.com/u/10111?v=3","gravatar_id":"","url":"https://api.github.com/users/mattn","html_url":"https://github.com/mattn","followers_url":"https://api.github.com/users/mattn/followers","following_url":"https://api.github.com/users/mattn/following{/other_user}","gists_url":"https://api.github.com/users/mattn/gists{/gist_id}","starred_url":"https://api.github.com/users/mattn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattn/subscriptions","organizations_url":"https://api.github.com/users/mattn/orgs","repos_url":"https://api.github.com/users/mattn/repos","events_url":"https://api.github.com/users/mattn/events{/privacy}","received_events_url":"https://api.github.com/users/mattn/received_events","type":"User","site_admin":false},"created_at":"2015-05-25T02:45:36Z","updated_at":"2015-05-25T02:45:36Z","body":"引数同じだし、関数ポインタ用意して\r\n```c\r\npReadConsoleOutput = g_PlatformId == VER_PLATFORM_WIN32_NT ? ReadConsoleOutputW : ReadConsoleOutputA;\r\npWriteConsoleOutput = g_PlatformId == VER_PLATFORM_WIN32_NT ? WriteConsoleOutputW : WriteConsoleOutputA\r\n```\r\nってのはどうでしょうか？\r\n"}}