Commit Graph

213 Commits

Author SHA1 Message Date
Jonathan Osser
0a41207bea Removed commented out import System.Posix.Env 2019-02-23 10:20:10 +01:00
Jonathan Osser
ee208766d5 Changed System.Posix.Env (specifically 'getEnv') to System.Environment 2019-02-22 23:28:07 +01:00
Jonathan Daugherty
0e1fc0e916 spelling cleanup: effected -> affected 2018-11-28 11:40:30 -08:00
Eric Mertens
297a7e7327 Remove unfinished test stub
Fixes #158
2018-07-30 09:41:19 -07:00
Jason Dagit
584197e56c Rogue: Remove unused language extension, TemplateHaskell 2017-03-04 11:14:11 -08: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
9809a42189 API: remove dependency on data-default
This change removes Data.Default instances for Attr and Config. Use
'defAttr' and 'defaultConfig' (or 'mempty') instead of 'def'.
2017-01-22 12:00:55 -08:00
Jonathan Daugherty
e621e59b7a Resolve overlapping binding warnings 2017-01-22 12:00:47 -08:00
Jonathan Daugherty
0bea3c4f02 Whitespace 2017-01-22 12:00:25 -08:00
Jonathan Daugherty
aa9856660f Resolve stale import warning 2017-01-22 12:00:09 -08:00
Jonathan Daugherty
700e759c32 Package: discontinue support for GHC < 7.10.1 2017-01-22 11:05:06 -08:00
Jonathan Daugherty
745f1f6778 Update test programs to respect new import requirements 2017-01-22 10:18:28 -08:00
Jonathan Daugherty
1fcdf94335 Library-wide export list cleanup 2017-01-22 09:22:15 -08:00
Jonathan Daugherty
1dac87efb7 Library-wide long haddock line cleanup 2017-01-21 22:54:37 -08:00
Jonathan Daugherty
ba2b6356ea Library-wide trailing whitespace cleanup 2017-01-21 22:21:58 -08:00
Jonathan Daugherty
2a51dcb572 vty-examples: package description cleanup 2017-01-21 20:01:42 -08:00
Jonathan Daugherty
bdcb477abf vty-examples: update package metadata 2017-01-21 19:59:40 -08:00
Eric Mertens
7918134255 Fix config test 2016-09-01 21:53:24 -07:00
Jonathan Daugherty
1144dbf36b Bump version, update CHANGELOG 2016-06-25 13:29:38 -07:00
Corey O'Connor
c4627063f1 Bump version to 5.5.1 for development 2016-05-10 18:33:44 -07:00
Corey O'Connor
6d36c7d69a Update CHANGELOG. Bump version to 5.5.0 2016-05-10 18:26:13 -07:00
Jonathan Daugherty
0c9d54f960 Replace lens dependency with microlens packages 2016-04-12 22:37:36 -07:00
Lennart Spitzner
7ca5927baa Fix .cabal files
- Add source repos
- Remove -threaded for library (in accordance with
  cabal check recommendation)
- Copy LICENSE to test package (Fix cabal check error)
- Add proper other-modules to test executables (Fixes #88)
2016-03-12 00:56:20 +01:00
Corey O'Connor
6c3974639f Up version to 5.4.1 for development. 2015-08-14 18:15:59 -07:00
Corey O'Connor
6e58a29ee7 Add upper bound to base dependency in vty-examples 2015-08-14 18:12:16 -07:00
Corey O'Connor
10e9b8397f Update CHANGELOG. Bump version to 5.4.0. 2015-08-11 22:56:34 -07:00
Jonathan Daugherty
04ac36ca76 Use STM chans to avoid deprecated interface (fixes #60) 2015-08-11 22:35:20 -07:00
Corey O'Connor
07b7a89f90 Correct depenencies for vty-examples. 2015-08-09 13:56:31 -07:00
Jonathan Daugherty
8f38f2ac30 tests: add missing import for GHC 7.4.2 2015-08-09 13:13:03 -07:00
Corey O'Connor
66c045fca3 Update the expected output from the mock terminal. 2015-08-08 22:22:35 -07:00
Corey O'Connor
cceeeeeeb2 Resolve #76. Terminfo "clear to end of line" does not mean what I thought it means.
I though this would clear the text and current display attributes from the cursor to end of the line.
This is not the case. The display attribute is state of the output cursor and not the already
dislayed text.

This change sets the default display attributes at the end of a line as well as the start of a new
line.

This passes all the tests but will cause a regression in Yi: The display of a selection area will
not extend to the end of the screen. However, I have a branch of Yi that adds vertical splits. In
order to implement this the selection area display code needed to handle extending the image to the
end of the frame.
2015-08-08 18:14:08 -07:00
Corey O'Connor
7617f21877 Add sample for #76. 2015-08-08 17:27:14 -07:00
Sergei Trofimovich
a27c36968f vty.cabal: fix test depends
Signed-off-by: Sergei Trofimovich <siarheit@google.com>
2015-04-25 19:39:49 +01:00
Corey O'Connor
475c45d9d0 do not differentiate the terminal to use based on TERM_PROGRAM when on Mac OS X #68 2015-03-15 23:27:11 -07:00
Corey O'Connor
4391f6212b try having travis CI use cabal-install 1.20 for test compat 2014-08-14 17:37:23 -07:00
Corey O'Connor
cbe30a71a3 update tests for changes in config process 2014-08-14 15:08:44 -07:00
Corey O'Connor
761e51d44c warning fixup again 2014-08-07 21:26:26 -07:00
Jonathan Daugherty
6e2a7adb61 Rogue: document addRoom and mkLevel 2014-08-01 15:58:05 -07:00
Jonathan Daugherty
30103d7c24 Rogue: use a type alias where coordinates are used 2014-08-01 15:47:10 -07:00
Jonathan Daugherty
d4d4aa391c Rogue: main: remove redundant invocation of updateDisplay 2014-08-01 15:39:05 -07:00
Jonathan Daugherty
39b31c6593 Rogue: put image-generation functions together 2014-08-01 15:37:08 -07:00
Jonathan Daugherty
051a6d949d Rogue: wrap some long comment lines 2014-08-01 15:35:02 -07:00
Jonathan Daugherty
d3697b7f76 Rogue: be gender-nonspecific: rename "dude" to "player" everywhere 2014-08-01 15:34:25 -07:00
Jonathan Daugherty
78387890f9 Rogue: use a type alias for the array type used for level geo data 2014-08-01 15:32:09 -07:00
Jonathan Daugherty
373301179c Rogue: clean up warnings (remove unused imports) 2014-08-01 15:29:16 -07:00
Jonathan Daugherty
131633c08e Rogue: whitespace 2014-08-01 15:28:37 -07:00
Jonathan Daugherty
668ec34424 Rogue: clean up warnings (add type signatures, avoid overlapping names) 2014-08-01 15:28:16 -07:00
Jonathan Daugherty
f9757bc01b Bugfix: rename "rouge" to "rogue" everywhere 2014-08-01 15:16:43 -07:00
Jonathan Daugherty
18ad37af1c Bugfix: vty-rouge: use correct bounds when constructing level geography array
Before this fix, attempts to inspect indices using `levelWidth` and
`levelHeight` would result in a runtime exception.
2014-08-01 15:13:38 -07:00