Ian Grant Jeffries
57342ae29a
Add isShutdown field to Vty.
2018-10-15 16:40:36 -04:00
Jonathan Daugherty
8207c1497f
Vty: avoid race in "shutdown"
2018-10-15 11:06:28 -07:00
Jonathan Daugherty
3ca08b3204
Bump version, update changelog
2018-10-14 20:01:23 -07:00
Jonathan Daugherty
5050413a2b
Make the "shutdown" method of Vty idempotent ( fixes #159 )
2018-10-14 20:00:28 -07:00
Jonathan Daugherty
53c02c6516
Bump version, update changelog
2018-09-06 12:36:11 -07:00
Jonathan Daugherty
612a091ee8
Add Generic and NFData instances for some types
2018-08-27 16:04:04 -07:00
Jonathan Daugherty
4953368aff
outputPicture: factor out vector/list conversions
2018-08-27 09:12:25 -07:00
Jonathan Daugherty
d8ead321f9
Image: remove custom Show instance, add derived Show and Read instances
2018-08-23 12:55:16 -07:00
Eric Mertens
297a7e7327
Remove unfinished test stub
...
Fixes #158
2018-07-30 09:41:19 -07:00
Jonathan Daugherty
188cc1a03f
Merge pull request #157 from glguy/travis
...
update travis build settings
2018-07-29 12:18:47 -07:00
Eric Mertens
47c074d112
update travis build settings
2018-07-29 10:01:47 -07:00
Jonathan Daugherty
bba5f0e36f
Bump version, update changelog
2018-07-28 17:54:47 -07:00
Jonathan Daugherty
11d31e8fe1
Merge pull request #156 from glguy/italics-fix
...
Fix SGR command after italics change
2018-07-28 17:53:56 -07:00
Eric Mertens
7a38067b38
Fix SGR command after italics change
...
SGR doesn't control italics. If we're updating the terminal style
using SGR and italics are needed the enter sequence will have to
be added after the SGR command.
2018-07-28 15:55:31 -07:00
Jonathan Daugherty
181a5d77df
Bump version, update changelog
2018-07-27 13:32:34 -07:00
Jonathan Daugherty
e23742907a
Add support for italicized output when terminfo supports it
2018-07-27 13:30:52 -07:00
Jonathan Daugherty
bb68f7ae05
Image: update text/string functions to indicate that escapes are not permitted
2018-07-26 07:23:48 -07:00
Jonathan Daugherty
3a3d6b35a0
Bump version, update changelog
2018-07-12 12:18:46 -07:00
Jonathan Daugherty
337e9a6ef1
Merge pull request #153 from spaceships/feature/color240ToRGB
...
Attributes/Color240: Add color240ToRGB function
2018-07-11 17:46:44 -07:00
Brent Carmer
c3796a88f9
color240CodeToRGB: return Nothing instead of error
2018-07-11 17:25:09 -07:00
Brent Carmer
36aec9f14d
color240ToRGB: rename color240CodeToRGB, take Word8 as input
2018-07-11 16:38:00 -07:00
Brent Carmer
a2f3f9c74e
Attributes/Color240: Add color240ToRGB function
2018-07-11 16:05:23 -07:00
Jonathan Daugherty
bf96356533
Vty: add nextEventNonblocking ( fixes #87 )
2018-03-19 15:18:01 -07:00
Jonathan Daugherty
adc4d70eea
Vty: update stale docstrings ( fixes #150 )
2018-03-19 15:10:20 -07:00
Jonathan Daugherty
6f4edc0228
Bump version, update changelog
2018-03-17 09:42:38 -07:00
Jonathan Daugherty
5aea21203d
Merge pull request #149 from noughtmare/master
...
Derive Eq for Picture and Background
2018-03-17 09:40:30 -07:00
Jaro Reinders
b45d598e00
Derive Eq for Picture and Background
2018-03-17 17:25:24 +01:00
Jonathan Daugherty
97f48dc312
Merge pull request #146 from dmwit/master
...
issue #145 : hide microlens' new <>~
2018-03-09 13:32:58 -08:00
Daniel Wagner
d589780fe1
issue #145 : hide microlens' new <>~
2018-03-09 16:25:05 -05:00
Jonathan Daugherty
a1db0e4716
Add notes about requirement of threaded RTS ( fixes #142 )
2018-02-06 08:40:00 -08:00
Jonathan Daugherty
5d4498faa7
Bump version, update changelog
2018-02-04 15:23:57 -08:00
Jonathan Daugherty
f8ca4500c9
Merge pull request #141 from RyanGlScott/master
...
Add Semigroup instances
2018-02-04 14:17:08 -08:00
Ryan Scott
433b5b7f2d
Add Semigroup instances
2018-02-04 16:30:29 -05:00
Jonathan Daugherty
f2be6a0e20
outputPicture: clamp invalid cursor positions when Cursor is used ( fixes #140 )
2018-01-18 20:18:31 -08:00
Jonathan Daugherty
9ae2df4d2b
Bump version, update changelog
2018-01-05 08:40:00 -08:00
Jonathan Daugherty
1fe6bdb08a
Merge pull request #139 from noughtmare/patch-2
...
Derive Eq for Cursor
2018-01-05 08:22:14 -08:00
Jonathan Daugherty
5979798cc8
Merge pull request #138 from noughtmare/patch-1
...
Fix haddock markup for Monoid instance of Image
2018-01-05 07:55:53 -08:00
Jaro Reinders
2b9272f2b2
Derive Eq for Cursor
...
This allows me to use it with `frpnow`'s `toChanges :: Eq a => Behavior a -> EvStream a`.
2018-01-05 16:00:30 +01:00
Jaro Reinders
297f827e5d
Fix haddock markup for Monoid instance of Image
...
It doesn't link because '<->' is not imported, but it at least shows up correctly in the haddocks this way.
2018-01-05 12:45:28 +01:00
Jonathan Daugherty
8a1a128677
README: fix repo URL
2017-12-13 21:32:48 -08:00
Jonathan Daugherty
86fd269e03
Bump version, update changelog
2017-12-02 22:36:14 -08:00
Jonathan Daugherty
d3235b184b
Interface: document default hyperlinking mode status
2017-12-02 14:48:11 -08:00
Jonathan Daugherty
55d46f50f4
Make hyperlinking optional ( fixes #137 )
...
This change makes it so that:
* Hyperlinking (emitted using 'withURL') by default is disabled.
* Hyperlinking can be enabled with 'setMode (outputIface vty) Hyperlink
True'.
In particular, some terminals, contrary to the aspirations of the
terminal hyperlinking proposal[1], do not gracefully hide/ignore unknown
OSC sequences[2]. This change makes it so that Vty users need to opt in
to using hyperlinking and makes it clear that the feature may or may not
be very well-supported and that they should do adequate testing on the
terminal emulators they wish to support.
[1] https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda
[2] https://github.com/jtdaugherty/vty/issues/137
2017-12-02 14:40:02 -08:00
Jonathan Daugherty
4f5e7422df
Bump version, update changelog
2017-10-06 14:15:34 -07:00
Jonathan Daugherty
3b5c151d65
Graphics.Vty.Output.Interface: also reset hyperlink state on RowEnd
2017-10-06 14:14:37 -07:00
Jonathan Daugherty
17cf7a1de0
Bump version, update changelog
2017-10-06 13:07:26 -07:00
Jonathan Daugherty
826b99a405
Merge pull request #134 from aisamanra/master
...
Add an experimental Attr for hyperlink escape sequences
2017-10-06 12:43:46 -07:00
Getty Ritter
9bd42a9758
Add more haddocks for withURL function
2017-10-06 12:43:00 -07:00
Getty Ritter
d8c18bb38f
Add an experimental Attr for hyperlink escape sequences
...
This right now isn't (as far as I have seen) encoded in Terminfo,
which means that unfortunately we can't rely on the typical Terminfo
parser infrastructure. Right now, this is just written inline in the
TerminfoBased module, but maybe should be embedded elsewhere.
2017-10-06 11:59:24 -07:00
Jonathan Daugherty
452ed52069
Bump version, update changelog
2017-09-02 13:25:33 -07:00