Safe Haskell | None |
---|---|
Language | Haskell2010 |
- splatCanvas :: Options -> Canvas () -> IO ()
Documentation
splatCanvas :: Options -> Canvas () -> IO () Source
splitCanvas is the GHCi entry point into blank-canvas. A typical invocation would be
GHCi> import Graphics.Blank GHCi> import Graphics.Blank.GHCi -- Adding commands to the canvas buffer GHCi> splatCanvas 3000 $ ( .. canvas commands .. )
The system remembers if it has been called on a specific port before, and if so, uses the previous session.