mitsuhiko/click — pull request #9 by ikkebr (2014-04-24 13:21:53+00:00)
Title: Windows compatibility

Importing fcntl and termios outside a try block in Windows would cause an error.
These modules are only used inside ioctl_gwinsz, so we can import them there.