on master help sign in
add docs
4eb85edCorey O'Connor
CHANGELOG+19−2
@@ -20,11 +20,28 @@
20 visibility changes in the Picture will have no effect.
20 visibility changes in the Picture will have no effect.
21 * alternate (setf/setb) color maps supported. Though colors beyond the first 8 are just a
21 * alternate (setf/setb) color maps supported. Though colors beyond the first 8 are just a
22 guess.
22 guess.
23+ * added "rgb_color" for easy support of RGB specified colors.
23 * input handling changes
24 * input handling changes
24− * tests exist
25+ * tests exist.
25 * the default amount of time between ESC and a subsequent character that causes VTY to
26 * the default amount of time between ESC and a subsequent character that causes VTY to
26 interpret the input as "ESC" then the character, versus some special key, has been
27 interpret the input as "ESC" then the character, versus some special key, has been
27− increased to 4000 microseconds.
28+ increased to 4000 microseconds; 4 milliseconds.
29+ * examples optionally installed, using the --with-examples, with library:
30+ * vty-interactive-terminal-test
31+ * interactive test. Useful for building a bug report for vty's author.
32+ * tests/interactive_terminal_test.hs
33+ * vty-event-echo
34+ * view a input event log for vty. Small example of interacting with user.
35+ * tests/EventEcho.hs
36+ * vty-rouge
37+ * A bad rouge-like game. Go from the entrance to exit. Ooooh. Small example of layers
38+ and image build operations.
39+ * tests/Rouge.hs
40+ * vty-benchmark
41+ * benchmarks vty. A series of tests that push random pictures to the terminal. The
42+ random pictures are generated using QuickCheck. The same generators used in the
43+ automated tests.
44+ * tests/benchmark.hs
28
45
294.7.0.0
464.7.0.0
30 * API changes:
47 * API changes:
src/Graphics/Vty/Input/Data.hs+3−1
@@ -85,7 +85,9 @@ nav_keys_3 =
85simple_chars :: ClassifyTable
85simple_chars :: ClassifyTable
86simple_chars = [ (x:[],(KASCII x,[])) | x <- map toEnum [0..0xC1] ]
86simple_chars = [ (x:[],(KASCII x,[])) | x <- map toEnum [0..0xC1] ]
87
87
88−-- Support for function keys (should use terminfo)
88+-- TODO: Support for function keys (should use terminfo)
89+--
90+-- (corey): yes. This definitely should. On my terminal these keys do not operate as expected.
89function_keys_0 :: ClassifyTable
91function_keys_0 :: ClassifyTable
90function_keys_0 = [ ("\ESC[["++[toEnum(64+i)],(KFun i,[])) | i <- [1..5] ]
92function_keys_0 = [ ("\ESC[["++[toEnum(64+i)],(KFun i,[])) | i <- [1..5] ]
91
93