Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keyboard/mouse context mgrs, printable width of sequences, sequence parsers #27

Closed
wants to merge 78 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
596602c
implement _resolve_multibyte
jquast Apr 11, 2013
f366cc8
Implement sequence-safe word wrapping
jquast Apr 11, 2013
f1a3cf1
Fix center, ljust, rjust
jquast Apr 11, 2013
0ef2233
re-shuffle .center, .ljust, and .rjust
jquast Apr 11, 2013
9d7b4d0
match spacing styling
jquast Apr 11, 2013
77ecb9c
prepare imports for character-at-a-time input
jquast Apr 11, 2013
982192d
static import for fcntl, will use fcntl.fcntl,
jquast Apr 11, 2013
cd5ae7d
Implement 'inkey_enabled' context manager
jquast Apr 11, 2013
a1d97c8
readability only
jquast Apr 11, 2013
e803a44
docfix
jquast Apr 11, 2013
7d1668c
implement complete keyboard handling, win32 support ?
jquast Apr 12, 2013
619ae9e
syntax fixes
jquast Apr 12, 2013
50241f0
many various fixes
jquast Apr 12, 2013
c234619
unset canonical or echo on __del__
jquast Apr 12, 2013
4697a0f
tighten up MSB loop, almost works
jquast Apr 12, 2013
93810b8
remove MSB decode warning, as we aggressively test
jquast Apr 12, 2013
1f4d101
add this temporary test script
jquast Apr 12, 2013
6997889
py2.5 compat
jquast Apr 12, 2013
99f1aff
remove __del__, revert window size to old behavior
jquast Apr 12, 2013
f34d972
change o_stream back to stream
jquast Apr 12, 2013
19005bd
uncommit debug in test
jquast Apr 12, 2013
726ce6b
finished input! Go ahead; kick the tires!
jquast Apr 12, 2013
eaa2955
fix MBS timeout delay, add mnumonics for pgup/down
jquast Apr 12, 2013
e0730ff
create comprehensive *human* test interface
jquast Apr 12, 2013
3588ed9
improve comments
jquast Apr 12, 2013
2482606
make refresh game-local, 'dirty' fix
jquast Apr 12, 2013
5db146c
pep8 compliance; 79-col wrapping for better pydoc
jquast Apr 12, 2013
b6eff3e
mnumonics for shifted pgup+down instead of sf/sr
jquast Apr 12, 2013
9aa1f39
backspace fix
jquast Apr 12, 2013
e44f08f
off-by-1 fix for _seql on non-digit move sequences
jquast Apr 12, 2013
db90d03
add F12+ keys, who knew mac keyboard shift+f1=F13
jquast Apr 12, 2013
c8c704d
add test for _seqlen
jquast Apr 12, 2013
ed0b3f5
additional test; MBS + 0-254 char padding
jquast Apr 12, 2013
56dbd5a
add test case for _is_movement
jquast Apr 12, 2013
a896f7f
fix for \033c (reset) and \033#8 (fill the screen)
jquast Apr 12, 2013
8d2ba43
add test for t.wrap
jquast Apr 12, 2013
68f16ba
python 2.5 compatability for t.wrap
jquast Apr 12, 2013
3a909ec
same py2.5 compat fix elsewhere
jquast Apr 12, 2013
7dfb756
inherit docstrings and update about seq-safetey
jquast Apr 12, 2013
e00efb8
match fillchar argument for .center, .rjust, and .ljust
jquast Apr 12, 2013
08e535a
use unichr() instead of chr(n).decode for py3k
jquast Apr 12, 2013
a2c157c
same fix for other test
jquast Apr 12, 2013
a7aa242
fix for python 2.5 textwrap
jquast Apr 13, 2013
85868d8
make test paragraph slightly smaller
jquast Apr 13, 2013
937f10f
" list() → []. (Just a style thing) "
jquast Apr 13, 2013
e199f4b
cleanup a mess that autopep8 made
jquast Apr 13, 2013
277cb50
add nother *human* test for animations
jquast Apr 13, 2013
32b703c
make newton's nightmare more interesting
jquast Apr 13, 2013
4b1d7b5
better animations
jquast Apr 13, 2013
f684e2d
fix mnumonic; SR/SF is shift up arrow/shift down arrow
jquast Apr 13, 2013
0c51b54
mnumonic fix; bad attr
jquast Apr 13, 2013
22b2cc6
various screen edge improvements
jquast Apr 13, 2013
a4c62d4
better looks
jquast Apr 13, 2013
85ec2f7
random velocity fix
jquast Apr 13, 2013
5b6c4c6
fix for kbhit(0)
jquast Apr 13, 2013
83798cb
fix KEY_ESCAPE; is not a mnumonic but should be!
jquast Apr 13, 2013
59ea95f
remove win32 mbs decoder; not needed
jquast Apr 13, 2013
f616114
todo tests
jquast Apr 13, 2013
5cbb2d8
add timing tests of input using pexpect
jquast Apr 13, 2013
1616da7
refactor resolve_mbs; improve test cases
jquast Apr 13, 2013
1caec63
add mnumonic KEY_CSPACE for byte '\x00' in inkey
jquast Apr 13, 2013
54c1fd2
test cases for KEY_CSPACE and KEY_SUP
jquast Apr 13, 2013
f1e4d45
remove duplicate stdout.flush()
jquast Apr 13, 2013
d88e249
add mouse tracking support as a context manager.
jquast Apr 13, 2013
4f76056
complete mouse tracking extended modes
jquast Apr 13, 2013
f02f818
add human test for mouse tracking feature
jquast Apr 13, 2013
44fe0c3
refactor & cleanup mouse test case.
jquast Apr 13, 2013
d72f279
add mouse scroll tracking test
jquast Apr 14, 2013
5933088
add a game of pong
jquast Apr 14, 2013
11a309c
broad and comprehensive _is_movement tests
jquast Apr 14, 2013
133fd9c
possible fix for python 2.5?
jquast Apr 14, 2013
fe92ffe
minor TypeError friendly msg fix for mised strings
jquast Apr 14, 2013
e57e8a1
fix strange sgr's not normally made by termcaps
jquast Apr 14, 2013
bd62d89
add comprehensive test cases from vttest color.c
jquast Apr 14, 2013
7c94c4c
polish off pong.
jquast Apr 14, 2013
1ecc3cb
demo correct use of KEY_EXIT
jquast Apr 14, 2013
8137f93
make msg 79-column friendly
jquast Apr 14, 2013
2a0e316
more polish on pong
jquast Apr 14, 2013
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading