HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulevty-unix-0.2.0.0Haskell2010

Graphics.Vty.Platform.Unix.Input.Classify.Types

Data types for the input parser.

This module is exposed for testing purposes only; applications should never need to import this directly.

  • 2 types
  • Packagevty-unix-0.2.0.0
  • Exports2
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceTypes.hs
datadata KClass
#

Constructors

  • Valid Event ByteString

    A valid event was parsed. Any unused characters from the input stream are also provided.

  • Invalid

    The input characters did not represent a valid event.

  • Prefix

    The input characters form the prefix of a valid event character sequence.

  • Chunk

    The input characters are either start of a bracketed paste chunk or in the middle of a bracketed paste chunk.

Instances2Eq, Show
  • Eq KClassDefined in vty-unix-0.2.0.0 · Graphics.Vty.Platform.Unix.Input.Classify.Types
  • Show KClassDefined in vty-unix-0.2.0.0 · Graphics.Vty.Platform.Unix.Input.Classify.Types
datadata ClassifierState
#

Whether the classifier is currently processing a chunked format. Currently, only bracketed pastes use this.

Constructors

  • ClassifierStart

    Not processing a chunked format.

  • ClassifierInChunk ByteString [ByteString]

    Currently processing a chunked format. The initial chunk is in the first argument and a reversed remainder of the chunks is collected in the second argument. At the end of the processing, the chunks are reversed and concatenated with the final chunk.