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
Jonathan Daugherty
b9572e64b0
withStyle: leave style untouched if added style is zero
2017-09-02 13:24:45 -07:00
Jonathan Daugherty
d14aae9ba5
Bump version, update changelog
2017-08-07 13:23:00 -07:00
Jonathan Daugherty
4bcebb1bfe
Add support for terminal focus events
2017-08-07 13:17:28 -07:00
Jonathan Daugherty
b4111dd00a
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.
2017-08-07 12:44:24 -07:00
Jonathan Daugherty
f7015204e7
Graphics.Vty.Attributes: escape backticks in Haddock comment ( fixes #131 )
2017-07-31 19:52:55 -07:00
Jonathan Daugherty
c7d63260a7
Bump version, update changelog
2017-07-20 19:27:43 -07:00
Jonathan Daugherty
0f3de8f00c
Merge pull request #130 from doublescale/mouse-wheel
...
Handle mouse wheel events
2017-07-20 19:23:15 -07:00
doublescale
33c61af80d
Rename BWheelUp/Down to BScrollUp/Down
2017-07-19 23:06:59 +02:00
doublescale
50360c5fe0
Remove note about scroll-release events
2017-07-19 22:55:29 +02:00
doublescale
b1e3042c65
Handle mouse wheel events
...
Scroll up/down events were interpreted as BLeft/BMiddle down events.
Introduced BWheelUp/BWheelDown events to handle these.
2017-07-19 20:59:07 +02:00
Jonathan Daugherty
7e3a2e97ab
Merge pull request #128 from glguy/pr-127
...
Cap minimum values of charFill arguments to zero
2017-06-28 19:31:54 -07:00
Eric Mertens
cb25af0cd0
Cap minimum values of charFill arguments to zero
...
Fixes #127
2017-06-28 20:19:04 -05:00
Jonathan Daugherty
a551914519
package: raise base lower bound to be consistent with declared GHC support ( fixes #126 )
2017-05-21 10:02:00 -07:00
Jonathan Daugherty
a880f08933
Bump version
2017-05-20 08:41:25 -07:00
Jonathan Daugherty
56712bc16f
Update changelog
2017-05-20 08:41:14 -07:00
Jonathan Daugherty
887a8a1e10
translateX/Y: fix negative translations
...
This change makes it so that translating an image negatively will return
an empty image if the negative translation completely hides the input
image. Previously we'd just return an image with a negative height,
which not only violates the requirement that all images have height no
less than zero, but it caused downstream bugs in mutable vector
accesses due to negative vector indices.
2017-05-20 08:13:47 -07:00
Jonathan Daugherty
60c0468f91
Merge pull request #125 from dagit/bug-fix
...
Rogue: Remove unused language extension, TemplateHaskell
2017-03-04 11:23:31 -08:00
Jason Dagit
584197e56c
Rogue: Remove unused language extension, TemplateHaskell
2017-03-04 11:14:11 -08:00
Jonathan Daugherty
82fbd4d302
Merge pull request #124 from hramrach/master
...
package: install docs as docs.
2017-02-28 16:23:31 -08:00
Michal Suchánek
2438c5417f
Install docs as docs.
2017-03-01 00:24:15 +01:00
Jonathan Daugherty
1741b935c5
Update example programs to use new default values
2017-01-24 11:46:14 -08:00
Jonathan Daugherty
564cd5cc00
Bump vty and vty-examples versions
2017-01-24 11:35:32 -08:00
Jonathan Daugherty
886a738ec9
Update CHANGELOG for 5.15
2017-01-23 14:50:54 -08:00
Jonathan Daugherty
fa9a9b9ca2
Graphics.Text.Width: typos
2017-01-22 15:37:25 -08:00
Jonathan Daugherty
8bf91daa65
Graphics.Vty.Span: haddock pass
2017-01-22 15:36:48 -08:00
Jonathan Daugherty
6495b9a382
Fix function name typo
2017-01-22 15:36:35 -08:00
Jonathan Daugherty
2ad3041ed6
Picture: docstring tweak
2017-01-22 15:30:59 -08:00
Jonathan Daugherty
f51761b276
Graphics.Vty.Picture: haddock pass
2017-01-22 15:30:23 -08:00
Jonathan Daugherty
5276548735
Graphics.Vty.Output.XTermColor: haddock pass
2017-01-22 15:24:16 -08:00
Jonathan Daugherty
b91fbece6f
Graphics.Vty.Output.TerminfoBased: haddock pass
2017-01-22 15:22:34 -08:00
Jonathan Daugherty
a22bf3dc4e
Graphics.Vty.Output.Mock: haddock pass
2017-01-22 15:19:47 -08:00
Jonathan Daugherty
44cc99a7c1
Graphics.Vty.Output.Interface: haddock pass
2017-01-22 15:18:32 -08:00
Jonathan Daugherty
86e5710cfa
Graphics.Vty.Output: haddock pass
2017-01-22 15:18:25 -08:00
Jonathan Daugherty
c85a0586e8
Graphics.Vty.Input.Terminfo: haddock pass
2017-01-22 15:09:12 -08:00
Jonathan Daugherty
de3a20391f
Graphics.Vty.Input: haddock pass
2017-01-22 15:03:53 -08:00
Jonathan Daugherty
7342cff2ad
Graphics.Vty.Inline: haddock pass
2017-01-22 14:44:53 -08:00
Jonathan Daugherty
428481047e
Graphics.Vty.Image: haddock pass
2017-01-22 13:17:31 -08:00
Jonathan Daugherty
78df1e561a
Improve configuration mention in Graphics.Vty
2017-01-22 12:55:49 -08:00
Jonathan Daugherty
12ec53c97f
Graphics.Vty.Config haddock pass
2017-01-22 12:55:32 -08:00