on master help sign in
add docs
commit4eb85ed0ed13155e678f8a65d535f08d0d7899b7 authorCorey O'Connor <corey@ooyala.com> dateMon 11 Nov 2013, 23:12 (13 years ago) parent4e99fd9
2 files changed+22−3
CHANGELOG+19−2 src/Graphics/Vty/Input/Data.hs+3−1
CHANGELOG+19−2
@@ -20,11 +20,28 @@
2020 visibility changes in the Picture will have no effect.
2121 * alternate (setf/setb) color maps supported. Though colors beyond the first 8 are just a
2222 guess.
23+ * added "rgb_color" for easy support of RGB specified colors.
2324 * input handling changes
24− * tests exist
25+ * tests exist.
2526 * the default amount of time between ESC and a subsequent character that causes VTY to
2627 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
2845
29464.7.0.0
3047 * API changes:
src/Graphics/Vty/Input/Data.hs+3−1
@@ -85,7 +85,9 @@ nav_keys_3 =
8585simple_chars :: ClassifyTable
8686simple_chars = [ (x:[],(KASCII x,[])) | x <- map toEnum [0..0xC1] ]
8787
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.
8991function_keys_0 :: ClassifyTable
9092function_keys_0 = [ ("\ESC[["++[toEnum(64+i)],(KFun i,[])) | i <- [1..5] ]
9193