ticki
e36ff1c71b
Termion 1.0.0: Complete overhaul of how escape codes are handled, add truecolor support.
...
This commit is a major semver bump. Every progra utilizing escape codes generated by Termion is likely broken. The main change is to make each escape has their own type implementing the Display trait.
- Use formatters, mainly Display for escapes.
- Add Truecolor support (`color::Rgb`).
- Put each primitive into distinct modules.
- Add is_tty for checking if some stream is a TTY.
- Add multiple new examples.
2016-07-23 16:40:27 +02:00
ticki
3996d24f12
Fix cargo example
2016-07-03 13:46:18 +02:00
ticki
1f66411331
Fix doc link
2016-07-03 13:43:22 +02:00
ticki
a7e05eef63
Merge branch 'master' of github.com:Ticki/libterm
2016-07-03 13:36:46 +02:00
ticki
fa4a6cfa5a
Make 'nightly' a default feature
2016-07-03 13:33:25 +02:00
ticki
b0a4e3af13
Merge pull request #26 from jackpot51/patch-2
...
Alternative fix for compilation on Redox
2016-07-02 18:33:55 +02:00
Jeremy Soller
af5d04d3b6
Update Cargo.toml
2016-07-02 08:51:50 -06:00
ticki
133497a4be
Inline
2016-07-02 16:17:07 +02:00
ticki
d52e2a2426
Fix documentation for colors
2016-07-02 15:59:51 +02:00
ticki
a7821206e9
Update README
2016-07-02 15:42:18 +02:00
ticki
7284a25d8f
Add more examples
2016-07-02 15:07:20 +02:00
ticki
b499d4825f
Refactor how colors are handled
2016-07-02 15:06:47 +02:00
ticki
8bcb946b07
Update readme
2016-06-14 14:29:31 +02:00
ticki
49bb0932c7
Merge branch 'master' of github.com:Ticki/libterm
2016-06-14 14:24:23 +02:00
ticki
11225e561d
Fix #24 , make use of Result instead
2016-06-14 14:24:07 +02:00
ticki
3693357b80
Merge pull request #23 from MovingtoMars/cursor_fix
...
fix cursor moving
2016-06-11 14:48:26 +02:00
MovingtoMars
aaeeb06d42
fix cursor moving
2016-06-11 22:29:04 +12:00
ticki
9acd4852c6
Merge pull request #22 from MovingtoMars/move_cursor
...
add move_cursor_{left,right} to TermWrite
2016-06-11 12:15:04 +02:00
MovingtoMars
d1b3cf6633
add move_cursor_{left,right} to TermWrite
2016-06-11 11:23:30 +12:00
ticki
119cbda718
Switch from usize to u16 in terminal_size
2016-05-03 19:42:37 +02:00
Ticki
451cb95ee2
Add colors example
2016-04-08 11:00:02 +02:00
Ticki
99db72b373
Merge branch 'master' of github.com:Ticki/libterm
2016-04-02 23:08:00 +02:00
Ticki
b36e5fa721
Fix build with 'nightly' feature
2016-04-02 23:06:10 +02:00
Ticki
6196b4725d
Merge pull request #20 from k0pernicus/patch-1
...
Update README.md
2016-04-02 23:02:07 +02:00
Antonin Carette
c846c9dbe1
Update README.md
...
Fix example reference
2016-04-02 16:48:12 -04:00
Ticki
6a792cd86d
Add unit tests for read_line
2016-04-02 19:20:47 +02:00
Ticki
b5c4f2512d
Merge pull request #14 from untitaker/refactor-read-passwd
...
Refactor read_passwd
2016-04-02 18:32:39 +02:00
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