Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
System.Process.Pager
Description
Run external pagers ($PAGER
, less
, more
).
Synopsis
- pageWriter :: (Handle -> IO ()) -> IO ()
- pageText :: Text -> IO ()
- data PagerException = PagerExitFailure CmdSpec Int
Documentation
pageWriter :: (Handle -> IO ()) -> IO () Source #
Run pager, providing a function that writes to the pager's input.
data PagerException Source #
Type representing exceptions thrown by functions exported by the System.Process.Pager module.
Constructors
PagerExitFailure CmdSpec Int |
Instances
Exception PagerException Source # | |
Defined in System.Process.Pager Methods toException :: PagerException -> SomeException # | |
Show PagerException Source # | |
Defined in System.Process.Pager Methods showsPrec :: Int -> PagerException -> ShowS # show :: PagerException -> String # showList :: [PagerException] -> ShowS # |