on master help sign in
No longer enable UTF8 mouse event encoding

This encoding was not working properly with Terminal.app, and using the other modes (SGR, etc.) work so I'm disabling this.

commitb4111dd00a49d0376708454d99f74a0336610d3e authorJonathan Daugherty <cygnus@foobox.com> dateMon 7 Aug 2017, 12:44 (9 years ago) parentf701520
1 file changed+2−2
src/Graphics/Vty/Input/Mouse.hs+2−2
src/Graphics/Vty/Input/Mouse.hs+2−2
@@ -33,11 +33,11 @@ import Data.Bits ((.&.))
3333-- | These sequences set xterm-based terminals to send mouse event
3434-- sequences.
3535requestMouseEvents :: String
36−requestMouseEvents = "\ESC[?1000h\ESC[?1002h\ESC[?1006h\ESC[?1005h"
36+requestMouseEvents = "\ESC[?1000h\ESC[?1002h\ESC[?1006h"
3737
3838-- | These sequences disable mouse events.
3939disableMouseEvents :: String
40−disableMouseEvents = "\ESC[?1000l\ESC[?1002l\ESC[?1006l\ESC[?1005l"
40+disableMouseEvents = "\ESC[?1000l\ESC[?1002l\ESC[?1006l"
4141
4242-- | Does the specified string begin with a mouse event?
4343isMouseEvent :: String -> Bool