vty-5.38: A simple terminal UI library
Safe HaskellSafe-Inferred
LanguageHaskell2010

Graphics.Vty.Input.Mouse

Description

This module provides parsers for mouse events for both "normal" and "extended" modes. This implementation was informed by

http://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h2-Mouse-Tracking

Synopsis

Documentation

requestMouseEvents :: ByteString Source #

These sequences set xterm-based terminals to send mouse event sequences.

disableMouseEvents :: ByteString Source #

These sequences disable mouse events.

isMouseEvent :: ByteString -> Bool Source #

Does the specified string begin with a mouse event?

classifyMouseEvent :: ByteString -> KClass Source #

Attempt to classify an input string as a mouse event.