Commit Graph

2 Commits

Author SHA1 Message Date
Andres Suarez
fbdb46f5cb Tidy up license headers
Reviewed By: chadaustin

Differential Revision: D17872966

fbshipit-source-id: cd60a364a2146f0dadbeca693b1d4a5d7c97ff63
2019-10-11 05:28:23 -07:00
Adam Simpkins
4007597729 avoid importing curses on Windows
Summary:
The `curses` module is part of the standard Python library on Linux and Mac,
but not on Windows.

This updates the CLI's `ui` module to avoid trying to import the `curses`
module on all platforms.  This adds a new `WindowsOutput` class for Windows.
For now this class is just a stub that uses the existing `PlainOutput` class
instead.

Reviewed By: pkaush

Differential Revision: D16354626

fbshipit-source-id: 262637030febd6893a94e19712a07cd3d5d39bbb
2019-07-22 18:46:37 -07:00