All Versions
62
Latest Version
Avg Release Cycle
57 days
Latest Release
-

Changelog History
Page 6

  • v5.2.3 Changes

  • v5.2.2 Changes

  • v5.2.1 Changes

    • โฌ†๏ธ Bump upper version bound for lens to 4.5. Thanks markus1189!
  • v5.2.0 Changes

    • 0๏ธโƒฃ Config structure now specifies file descriptor to use. The default is stdInput and stdOutput file descriptors. Previously Vty used stdInput for input and the follow code for output:
      • hDuplicate stdout >>= handleToFd >>= (hSetBuffering NoBuffering)
      • the difference was required by Vty.Inline. Now, Vty.Inline uses the Config structure options to acheive the same effect.
    • โœ‚ removed: derivedVtime, derivedVmin, inputForCurrentTerminal, inputForNameAndIO, outputForCurrentTerminal, outputForNameAndIO
    • โž• added: inputForConfig, outputForConfig
    • โšก๏ธ updates to vty-rogue from jtdaugherty. Thanks!
    • โœ… the oldest version of GHC tested to support vty is 7.6.2.
    • the oldest version of GHC that vty compiles under is 7.4.2
  • v5.1.1 Changes

  • v5.1.0 Changes

    • vmin and vtime can be specified however the application requires. See Graphics.Vty.Config.
    • ๐Ÿ›  fixed the processing of input when vmin is set > 1.
  • v5.0.0 Changes

    • The naming convention now matches:
    • all projects using vty for input must be compiled with -threaded. Please notify vty author if this is not acceptable.
    • ๐Ÿšš mkVtyEscDelay has been removed. Use "mkVty def". Which initialized vty with the default configuration.
    • input handling changes
      • KASCII is now KChar
      • KPN5 is now KCenter
      • tests exist.
      • Applications can add to the input tables by setting inputMap of the Config. See Graphics.Vty.Config
      • Users can define input table extensions that will apply to all vty applications. See Graphics.Vty.Config
      • terminal timing is now handled by selecting an appropriate VTIME. Previously this was implemented within Vty itself. This reduced complexity in vty but provides a different meta key behavior and implies a requirement on -threaded.
      • The time vty will wait to verify an ESC byte means a single ESC key is the singleEscPeriod of the Input Config structure.
    • โœ‚ removed the typeclass based terminal and display context interface in favor of a data structure of properties interface.
    • ๐Ÿ“‡ renamed the Terminal interface to Output
    • 0๏ธโƒฃ The default picture for an image now uses the "clear" background. This background fills background spans with spaces or just ends the line.
      • Previously the background defaulted to the space character. This causes issues copying text from a text editor. The text would end up with extra spaces at the end of the line.
    • ๐Ÿ‘ Layer support
      • Each layer is an image.
      • The layers for a picture are a list of images.
      • The first image is the top-most layer. The images are ordered from top to bottom.
      • The transparent areas for a layer are the backgroundFill areas. backgroundFill is added to pad images when images of different sizes are joined.
      • If the background is clear there is no background layer.
      • If there is a background character then the bottom layer is the background layer.
      • emptyPicture is a Picture with no layers and no cursor
      • addToTop and addToBottom add a layer to the top and bottom of the given Picture.
    • compatibility improvements:
      • terminfo based terminals with no cursor support are silently accepted. The cursor visibility changes in the Picture will have no effect.
      • alternate (setf/setb) color maps supported. Though colors beyond the first 8 are just a guess.
      • added "rgbColor" for easy support of RGB specified colors.
      • Both applications and users can add to the mapping used to translate from input bytes to events.
    • โž• Additional information about input and output process can be appended to a debug log
      • Set environment variable VTY_DEBUG_LOG to path of debug log
      • Or use "debugLog " config directive
      • Or set 'debugLog' property of the Config provided to mkVty.
    • ๐Ÿ‘€ examples moved to vty-examples package. See test directory for cabal file.
      • vty-interactive-terminal-test
      • interactive test. Useful for building a bug report for vty's author.
      • test/interactive_terminal_test.hs
      • vty-event-echo
      • view a input event log for vty. Example of interacting with user.
      • test/EventEcho.hs
      • vty-rogue
      • The start of a rogue-like game. Example of layers and image build operations.
      • test/Rogue.hs
      • vty-benchmark
      • benchmarks vty. A series of tests that push random pictures to the terminal. The random pictures are generated using QuickCheck. The same generators used in the automated tests.
      • test/benchmark.hs
  • v4.7.0.0 Changes

    API changes:

    • โž• Added Graphics.Vty.Image.crop: Ensure an image is no larger than the specified size.
    • โž• Added Graphics.Vty.Image.pad: Ensure an image is no smaller than the specified size.
    • โž• Added Graphics.Vty.Image.translate: Offset an image.
    • Thanks Ben Boeckel [email protected] for these features.
  • v4.2.1.0 Changes

    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