summaryrefslogtreecommitdiff
path: root/src/System/IO/Terminal/IO/Windows.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/System/IO/Terminal/IO/Windows.hs')
-rw-r--r--src/System/IO/Terminal/IO/Windows.hs19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/System/IO/Terminal/IO/Windows.hs b/src/System/IO/Terminal/IO/Windows.hs
new file mode 100644
index 0000000..a46ec85
--- /dev/null
+++ b/src/System/IO/Terminal/IO/Windows.hs
@@ -0,0 +1,19 @@
+{-|
+Module : System.IO.Terminal.IO.Windows
+Copyright : (c) UU, 2019
+License : MIT
+Maintainer : Tom Smeding
+Stability : experimental
+Portability : Windows
+
+Platform-specific submodule of "System.IO.Terminal.IO" that (does not yet) work on Windows.
+-}
+module System.IO.Terminal.IO.Windows where
+
+import Control.Monad.IO.Unlift (MonadUnliftIO)
+
+
+-- | Currently does nothing, i.e. just executes the body as-is. WINCH support
+-- is currently unix-only.
+withWinchHandler :: MonadUnliftIO m => IO () -> m a -> m a
+withWinchHandler _ act = act