vty-5.18: A simple terminal UI library

Safe HaskellSafe
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 :: String Source #

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

disableMouseEvents :: String Source #

These sequences disable mouse events.

isMouseEvent :: String -> Bool Source #

Does the specified string begin with a mouse event?

classifyMouseEvent :: String -> KClass Source #

Attempt to lassify an input string as a mouse event.