| Copyright | (C) 2014-2015, The University of Kansas |
|---|---|
| License | BSD-style (see the file LICENSE) |
| Maintainer | Andy Gill |
| Stability | Beta |
| Portability | GHC |
| Safe Haskell | None |
| Language | Haskell2010 |
Graphics.Blank.GHCi
Description
The GHCi entry point for blank-canvas. Useful for sending multiple
commands to the same port.
- 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.