vty-examples v4.2.1.0 Release Notes
-
API changes:
- Attr record accessor fore_color changed to attr_fore_color
- Attr record accessor back_color changed to attr_back_color
- ๐ Attr record accessor style changed to attr_style
- โ Added an "inline" display attribute changing DSL:
- put_attr_change applies a display attribute change immediately to a terminal
- For instance, can be used to change the display attrbiutes of text output via putStrLn and putStr. EX: "put_attr_change $ back_color red" will set the background color to red.
- Changes do not apply to a Picture output via output_picture.
- See Graphics.Vty.Inline
- ๐ Moved all IO actions into any monad an instance of MonadIO