{"action":"created","issue":{"url":"https://api.github.com/repos/libuv/libuv/issues/438","labels_url":"https://api.github.com/repos/libuv/libuv/issues/438/labels{/name}","comments_url":"https://api.github.com/repos/libuv/libuv/issues/438/comments","events_url":"https://api.github.com/repos/libuv/libuv/issues/438/events","html_url":"https://github.com/libuv/libuv/issues/438","id":94702076,"number":438,"title":"Support `underline` ANSI escape on Windows","user":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/libuv/libuv/labels/windows","name":"windows","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-13T11:45:49Z","updated_at":"2015-07-28T19:07:34Z","closed_at":null,"body":"This is important for consistency between Unix-based systems and Windows in CLI tools.\r\n\r\n## Info\r\n\r\nhttps://en.wikipedia.org/wiki/ANSI_escape_code\r\n\r\nWindows does support underline using the [Windows-specific way of styling console text](https://msdn.microsoft.com/en-us/library/windows/desktop/ms682088(v=vs.85).aspx#_win32_character_attributes): `COMMON_LVB_UNDERSCORE`\r\n\r\n## Test case\r\n\r\n```\r\nnode -e \"console.log('\\u001b[4municorn\\u001b[24m');\"\r\n```\r\n\r\n## OS X\r\n\r\n<img width=\"495\" alt=\"screen shot 2015-07-13 at 13 39 02\" src=\"https://cloud.githubusercontent.com/assets/170270/8648845/8ea51ef2-2964-11e5-9a30-70fd1fe6e3ef.png\">\r\n\r\n*Node.js 0.12.5, OS X 10.10, Terminal.app*\r\n\r\n## Windows\r\n\r\n<img width=\"959\" alt=\"screen shot 2015-07-13 at 13 40 19\" src=\"https://cloud.githubusercontent.com/assets/170270/8648864/c6ec5f50-2964-11e5-95b8-d08c81d58d1a.png\">\r\n\r\n*Node.js 0.12.5, Windows 8.1, cmd.exe*"},"comment":{"url":"https://api.github.com/repos/libuv/libuv/issues/comments/125722902","html_url":"https://github.com/libuv/libuv/issues/438#issuecomment-125722902","issue_url":"https://api.github.com/repos/libuv/libuv/issues/438","id":125722902,"user":{"login":"Qix-","id":885648,"avatar_url":"https://avatars.githubusercontent.com/u/885648?v=3","gravatar_id":"","url":"https://api.github.com/users/Qix-","html_url":"https://github.com/Qix-","followers_url":"https://api.github.com/users/Qix-/followers","following_url":"https://api.github.com/users/Qix-/following{/other_user}","gists_url":"https://api.github.com/users/Qix-/gists{/gist_id}","starred_url":"https://api.github.com/users/Qix-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Qix-/subscriptions","organizations_url":"https://api.github.com/users/Qix-/orgs","repos_url":"https://api.github.com/users/Qix-/repos","events_url":"https://api.github.com/users/Qix-/events{/privacy}","received_events_url":"https://api.github.com/users/Qix-/received_events","type":"User","site_admin":false},"created_at":"2015-07-28T19:07:34Z","updated_at":"2015-07-28T19:07:34Z","body":"This is actually not possible - ever. [`COMMON_LVB_UNDERSCORE` is for CJK (chinese/japanese/korean) characters](http://www.siao2.com/2005/10/10/478911.aspx).\r\n\r\nSorry @sindresorhus :|"}}