Ticki
9efbb4e227
Fix ctrl input
2016-03-10 15:21:11 +01:00
Ticki
d8e5ea3262
CTRL modified input
2016-03-10 15:12:59 +01:00
Ticki
3800f31e92
Use libc termios struct
2016-03-10 07:05:08 +01:00
Ticki
08746c0d2a
Add tests to 'terminal_size'
2016-03-09 19:17:00 +01:00
Ticki
5d4826d4ff
Add test to _everything_
2016-03-09 17:18:31 +01:00
Ticki
7269b5f07d
Add restore() method for restoring the defaults
2016-03-09 13:07:38 +01:00
Ticki
0efce912d0
Minor cosmetic changes
2016-03-09 11:38:43 +01:00
Ticki
543b2f8975
Hi -> Light
2016-03-09 11:19:51 +01:00
Ticki
6f1621d2d0
Introduce 'Key', which can decode special key input
2016-03-09 09:39:22 +01:00
Ticki
abe4681158
Fix examples
2016-03-08 21:40:48 +01:00
Ticki
a16cc84ea3
Rename WriteExt to TermWrite
2016-03-08 21:39:24 +01:00
Ticki
62940e52f0
Add clear_before, clear_after and clear_until_newline
2016-03-08 20:10:13 +01:00
Ticki
77311ae63f
Make the position 0-based
2016-03-08 19:07:39 +01:00
Ticki
61a5d8e777
Rename append 'cursor' to show and hide methods
...
To avoid ambiguity.
2016-03-08 18:57:31 +01:00
Ticki
45aa8912f9
Rename Mode to Style
...
Mode is somewhat ambiguous term, which is often overused, for that reason I want to avoid it. This is a breaking change, but I don't guarantee stability yet, however I'll do my best to not break things.
2016-03-08 18:38:07 +01:00
Ticki
f5aad5e2b1
Amend #3
2016-03-08 11:58:48 +01:00
Florian Gilcher
c5fd3b1145
Use a byte buffer for the password
...
Introduces a "UnicodeError" to express improperly encoded
passwords.
2016-03-08 11:47:38 +01:00
Ticki
f601c49e28
Amend #1 to use direct integers instead of byte chars
2016-03-08 11:29:22 +01:00
Ticki
899cb89139
Merge branch 'master' of github.com:Ticki/libterm
2016-03-08 11:28:22 +01:00
Ticki
efcc232de1
32-bit support
2016-03-08 11:27:53 +01:00
Florian Gilcher
5a11c6d2c7
Use libc from crates.io
2016-03-08 11:15:41 +01:00
Florian Gilcher
4d21e7f3e4
Replace unstable 'chars' by 'bytes'
...
As this is a paththrough function and all important control chars
are in the byte range, chars is not necessary.
2016-03-08 11:04:09 +01:00
Ticki
22ef240967
terminal_size() for Redox
2016-03-08 10:31:12 +01:00
Ticki
54ce18f17d
Better documentation, fix TIOCGWINSZ
2016-03-08 10:08:50 +01:00
Ticki
07b25731a6
Minor cosmetic changes
2016-03-08 09:09:52 +01:00
Ticki
10f6654005
Better password input
2016-03-08 08:51:34 +01:00
Ticki
a19d2e245d
Make debug_check private, remove warnings from examples
2016-03-08 08:27:59 +01:00
Ticki
491facd4e7
Minor cosmetic changes
2016-03-08 08:19:26 +01:00
Ticki
0fde52e3f9
Fixes for Redox
2016-03-07 22:22:25 +01:00
Ticki
fd2d74d41a
Now supports Redox!
2016-03-07 22:19:35 +01:00
Ticki
45b1136f75
get_passwd(), new example, update README
2016-03-07 18:42:11 +01:00
Ticki
098ce66b84
Rendition modes
2016-03-07 17:57:17 +01:00
Ticki
6f9addc42b
Yay! 256-color mode
2016-03-07 17:39:25 +01:00
Ticki
2f0c72e1e4
Remove warnings from example
2016-03-07 16:23:05 +01:00
Ticki
c89a8f7027
Restructuring and error handling
2016-03-07 16:01:20 +01:00
Ticki
1e30802d32
u16 instead, don't allocate for formatting
2016-03-06 17:51:07 +01:00
Ticki
bf7ca5c143
Initial commit
2016-03-06 14:54:26 +01:00