Commit Graph

122 Commits

Author SHA1 Message Date
Ticki bf1a6ecc2e Amend #15 2016-04-02 18:31:03 +02:00
Jeremy Soller f5936c0035 Use env for terminal size in redox
Undo color changes to test redox 256 color support

Get terminal size for Redox's kernel terminal

Use env for terminal size in redox
2016-04-02 18:31:03 +02:00
Jeremy Soller cd59514615 Use 8-color mode when possible. 2016-04-02 18:30:48 +02:00
Ticki b288548756 Fix #18 2016-04-02 18:05:31 +02:00
Ticki 4bd96b06ef Simplify dependencies 2016-03-29 08:00:01 +02:00
Ticki 7da5fbf36f Clean up imports in raw module 2016-03-20 22:55:08 +01:00
Markus Unterwaditzer cdd7a302b2 Refactor read_passwd
Line-reading logic is now in its own method
2016-03-20 16:15:05 +01:00
Ticki 12e08141c4 Merge branch 'master' of github.com:Ticki/libterm 2016-03-17 17:13:11 +01:00
Ticki b10a24e112 Remove 'into_async', use 'async_stdin' instead 2016-03-17 17:12:47 +01:00
Ticki 5f8ce31797 Merge pull request #12 from jackpot51/master
Fix redox support
2016-03-16 22:08:42 +01:00
Jeremy Soller 72f87e0176 Fix redox support 2016-03-16 12:59:12 -06:00
Ticki 06cfe596c0 Merge pull request #10 from shortenda/patch-1
Fix typo in doc
2016-03-16 13:51:07 +01:00
Ticki 2cf833d76f Merge pull request #11 from gchp/error-fix
Fixed keys example
2016-03-16 13:50:29 +01:00
Greg Chapple d6161f9e24 Fixed keys example 2016-03-16 12:02:29 +00:00
shortenda 65615c3c39 Fix typo 2016-03-16 01:43:35 -07:00
Ticki 7d1d424c8a Small doc fixes 2016-03-16 08:52:09 +01:00
Ticki 80bbdb62df Add docs link 2016-03-16 08:36:50 +01:00
Ticki 6d0129dd75 Resize 2016-03-16 08:17:55 +01:00
Ticki ecf813569e Example image 2016-03-16 08:11:35 +01:00
Ticki 28a95cf447 Libterm is now termion 2016-03-15 21:36:33 +01:00
Ticki 6ca81b2ec0 Fix nightly feature 2016-03-15 20:56:53 +01:00
Ticki 2f2ac0a7f8 Update 'usage' section 2016-03-15 20:39:08 +01:00
Ticki b65328c304 Asynchronous key events 2016-03-15 20:32:25 +01:00
Ticki 73ae06124a Add Key::Null for null bytes 2016-03-15 18:01:33 +01:00
Ticki f2af496bbe Don't import libc, when not supported 2016-03-15 15:46:51 +01:00
Ticki df65cc7c56 Nightly message 2016-03-13 11:59:55 +01:00
Ticki 32d8ccfa24 Use IO error, instead of a custom one 2016-03-13 11:55:24 +01:00
Ticki 7145651a83 Fix bug in Keys 2016-03-10 21:57:42 +01:00
Ticki 2335596a1a TerminalRestorer -> RawTerminal 2016-03-10 16:24:41 +01:00
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 d7a3e607ba Fix read example 2016-03-09 08:41:18 +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 a6d364e638 Add a note on stability 2016-03-08 19:44:31 +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
Ticki e145bf6592 Merge pull request #3 from skade/utf8-password-buffer
Use a byte buffer for the password
2016-03-08 11:55:51 +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