Jonathan Daugherty
c0f919c533
Revert "Add bundled utf8proc so we don't have to depend on a local version"
...
This reverts commit 989de89a42
.
2016-11-19 11:46:32 -08:00
Jonathan Daugherty
6bd9f44d0d
Update CHANGELOG
2016-11-12 16:17:25 -08:00
Jonathan Daugherty
989de89a42
Add bundled utf8proc so we don't have to depend on a local version
2016-11-12 16:17:17 -08:00
Jonathan Daugherty
437b27f052
Replace stale wcwidth implementation with utf8proc library call
2016-11-12 15:31:23 -08:00
Jonathan Daugherty
c18657e1c0
Bump version
2016-10-23 19:48:28 -07:00
Jonathan Daugherty
dbb3f2a6f4
Mouse: also correct offsets on mouse-up events
2016-10-23 19:48:03 -07:00
Jonathan Daugherty
de55ddfb5c
Bump version
2016-10-23 19:17:33 -07:00
Jonathan Daugherty
c767bf0c93
Update CHANGELOG
2016-10-23 19:17:24 -07:00
Jonathan Daugherty
443c9ca77f
Mouse: make mouse events offset from row/column zero instead of one
2016-10-23 19:16:34 -07:00
Jonathan Daugherty
c0bc8e0a2d
Bump version, update changelog
2016-10-11 10:54:07 -07:00
Jonathan Daugherty
99361dee8f
Add Generic instance for Image
2016-10-11 10:52:06 -07:00
Jonathan Daugherty
ac1517da21
nextEvent: stop trying to refresh on a resize event (fixes segfault on refresh with normal cursor positioning mode)
2016-10-11 10:50:28 -07:00
Jonathan Daugherty
25b03409cd
Merge pull request #113 from glguy/redundant-clause-patch
...
Remove redundant clause from clipForCharWidth
2016-09-06 19:20:03 -07:00
Eric Mertens
25429683cd
Remove redundant clause from clipForCharWidth
2016-09-06 19:07:12 -07:00
Jonathan Daugherty
83ceb682f7
Update maintainer
2016-09-04 08:56:55 -07:00
Jonathan Daugherty
8629774903
Bump version, update changelog
2016-09-04 08:55:37 -07:00
Jonathan Daugherty
f8f7577d8c
Merge pull request #112 from glguy/term-env-exception
...
Raise a VTY specific exception on missing TERM
2016-09-03 19:06:34 -07:00
Eric Mertens
7f899b5727
Raise a VTY specific exception on missing TERM
...
Fixes #107
Fixes #110
2016-09-03 17:28:55 -07:00
Jonathan Daugherty
5208cc0790
Merge pull request #111 from glguy/config-export-list
...
Add export list to Graphics.Vty.Config to avoid leaking implementation details of parser
2016-09-02 18:57:13 -07:00
Eric Mertens
3d0d693746
Add export list to Graphics.Vty.Config to avoid leaking implementation details of parser
2016-09-02 18:54:57 -07:00
Jonathan Daugherty
9fb9c54fe2
Remove unused binding
2016-09-02 17:09:57 -07:00
Jonathan Daugherty
3f318f5bc6
Update CHANGELOG
2016-09-02 17:08:40 -07:00
Jonathan Daugherty
25b3fbea9c
Merge pull request #109 from glguy/generic-config-parser
...
Generic-derived config parser
2016-09-01 22:49:18 -07:00
Jonathan Daugherty
3c43f139e5
Merge pull request #108 from glguy/absolute-cursor-patch
...
Add support for absolute cursor positioning
2016-09-01 22:47:46 -07:00
Eric Mertens
7918134255
Fix config test
2016-09-01 21:53:24 -07:00
Eric Mertens
58f0216522
Implement the configuration parser using generics
2016-09-01 20:43:53 -07:00
Eric Mertens
4a8677ced4
Fix MShift case in parseModifier
2016-09-01 19:17:11 -07:00
Eric Mertens
5e79d94786
Delay cursor clamping logic until logical positions are known
2016-09-01 13:14:32 -07:00
Eric Mertens
5f6bb0f24f
Improve cropping behavior with zero-width characters
2016-09-01 10:14:47 -07:00
Eric Mertens
818eed24b3
Add support for absolute cursor positioning
...
This allows advanced applications to compute their own direct cursor
placement by absolute column without having to invert the logical
cursor computation.
Fixes #94
2016-09-01 09:05:14 -07:00
Jonathan Daugherty
c264df9034
Merge pull request #106 from glguy/fix-wcwidth
...
Use Haskell types directly in C code, remove unused C procedures
2016-08-28 15:03:35 -07:00
Eric Mertens
21f0f9d474
Use Haskell types directly in C code, remove unused C procedures
2016-08-28 14:52:32 -07:00
Jonathan Daugherty
e729e2abd3
Merge pull request #105 from glguy/fix-wcwidth
...
Fix wcwidth import and match safeWcswidth to its documented behavior
2016-08-28 14:38:06 -07:00
Eric Mertens
92ec351173
Fix wcwidth import and match safeWcswidth to its documented behavior
...
Previously vty_mk_wcwidth was being imported with the wrong type causing
the -1 return value to be mapped to the wrong Int value.
Additionally safeWcswidth was using the unsafe character width function
and only ensuring that the final result was non-negative.
2016-08-28 14:29:25 -07:00
Jonathan Daugherty
1f592bca41
Bump version, update CHANGELOG
2016-08-28 11:41:47 -07:00
Jonathan Daugherty
4a48e17830
Only emit UTF8 charset sequences in terminals without a preexisting UTF8 declaration ( fixes #89 )
2016-08-28 11:40:51 -07:00
Jonathan Daugherty
1d908d3dc9
Bump version, update CHANGELOG
2016-08-28 10:36:12 -07:00
Jonathan Daugherty
f8c9c956d7
Add Output.{ringTerminalBell,supportsBell} to control the terminal bell ( fixes #102 )
2016-08-28 10:35:02 -07:00
Jonathan Daugherty
2f2915787f
Bump version, update CHANGELOG
2016-08-28 09:51:33 -07:00
Jonathan Daugherty
b1425c68c6
Merge branch 'master' of github.com:coreyoconnor/vty
2016-08-28 09:49:59 -07:00
Jonathan Daugherty
89e537b2a1
Bugfix: make "refresh" actually behave as advertised ( fixes #104 )
...
This change fixes "refresh" by clearing the AssumedState of the
DisplayContext used to do the refresh operation. Before this change,
"refresh" would trigger a redraw but the redraw would check the new
output picture against the previous one and determine that there were no
differences, resulting in a no-op redraw. This change fixes that
behavior by first clearing the previous draw state of the DisplayContext
to force the output routine to conclude that the new picture is
different on every line.
2016-08-28 09:46:29 -07:00
Jonathan Daugherty
84ed03e5bb
Bump version
2016-08-11 13:25:17 -07:00
Jonathan Daugherty
a1ea7e697d
Resolve merge conflict
2016-08-11 12:16:46 -07:00
Jonathan Daugherty
c83dd1d599
Update CHANGELOG for 5.8
2016-08-11 12:16:24 -07:00
Jonathan Daugherty
b5115c881c
Input: provide paste content as a ByteString rather than a String
2016-08-11 12:12:53 -07:00
Jonathan Daugherty
d0a469b375
Update CHANGELOG
2016-08-11 12:11:43 -07:00
Jonathan Daugherty
58f4e9bc12
Bump version, update CHANGELOG
2016-06-27 21:19:20 -07:00
Jonathan Daugherty
655dec00e7
ModeDemo: import Control.Applicative explicitly
2016-06-26 14:44:33 -07:00
Jonathan Daugherty
bc77ce8537
Bump version, update changelog
2016-06-26 13:45:23 -07:00
Jonathan Daugherty
d4789578ed
Make mouse and paste modes optional and reconfigurable
...
- Adds mouseMode and bracketedPasteMode fields to Config
- Config fields default to False
- Adds a Mode type for modal terminal features (mouse events, bracketed
paste mode)
- The Output interface now has new fields:
* supportsMode :: Mode -> Bool tells whether the device supports a
mode
* setMode :: Mode -> Bool -> IO () turns a mode on or off
* getModeStatus :: Mode -> IO Bool tells you whether a mode is on or
off
2016-06-26 12:14:36 -07:00