I can include #1092 in this PR ( if targets are only parts I need on this PR)

But do you mind one PR have two topics:
1. about win32console
2. about Pry::Platform

If mind, I will create as another PR.