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
Corey O'Connor
eb016d15e9
update vty-examples
2014-07-27 12:52:54 -07:00
Corey O'Connor
45c1e1d7f4
raise dependencies for issue #49
2014-07-27 12:13:13 -07:00
Sebastian J. Mielke
e0f29a7da7
Add ScopedTypeVariables pragma to interactive_terminal_test
...
Otherwise l. 77 (now 78) "_ :: SomeException" doesn't seem to work
2014-06-22 18:36:03 +02:00
Corey O'Connor
9704f66a49
remove abstractions over vmin and vtime and correct input classifier
2014-06-06 09:09:10 -07:00
Corey O'Connor
0e772f7361
add support for matching a specific terminal to input map config. cleanup
2014-06-04 23:26:41 -07:00
Corey O'Connor
23a5b90408
start to move all input map config to the same scheme
2014-06-02 23:06:43 -07:00
Corey O'Connor
2c756c1158
fixup examples that use outputForCurrentTerminal
2014-05-31 18:12:20 -07:00
Corey O'Connor
4aceef7a7f
mask output from quickcheck. need to be replaced with one that reports output via Progress values
2014-05-31 01:52:55 -07:00
Corey O'Connor
7d434d3104
latter entries in the table have precedence. the mock input tests was not reflecting this.
2014-05-31 01:52:29 -07:00
Corey O'Connor
522b740b8a
add a debug log for input
2014-05-25 23:28:49 -07:00
Corey O'Connor
5b30b8d9b9
move RougeStory
2014-05-02 11:12:47 -07:00
Corey O'Connor
de6af31ee6
fix debugLog reference
2014-04-24 13:28:24 -07:00
Corey O'Connor
0b8eb61564
commentary update. add a minimal example.
2014-04-24 12:58:37 -07:00
Corey O'Connor
689e8f5732
add config parser and test
2014-04-23 19:07:19 -07:00
Corey O'Connor
99bb4b8133
refactor Input.Internal into more specific modules
2014-04-16 16:44:44 -07:00
Corey O'Connor
8abf7f94c6
commentary update
2014-04-14 22:07:31 -07:00
Corey O'Connor
aa2887657e
more naming convention updates
2014-04-11 20:54:00 -07:00
Corey O'Connor
a4ef14d1d9
refactor vty to use standard naming convention.
2014-04-11 17:51:13 -07:00
Corey O'Connor
cd5e64cbd7
clarify benchmark results tables
2014-02-02 02:21:31 -08:00
Corey O'Connor
faa248deab
add benchmark results for my older AMD desktop
2014-02-01 11:42:54 -08:00
Corey O'Connor
a20928d610
resolve the failure to parse reads from the terminal that contained 2 or more ESC prefixed keys.
2014-01-31 12:10:45 -08:00
Corey O'Connor
24b6a9d741
add test demonstrating current parse failure
2014-01-31 01:26:53 -08:00