Commit Graph

309 Commits

Author SHA1 Message Date
emilis ce611b8283 fixed unwraps on nones occuring on fast subsequent reads in async (+rustfmt) 2023-01-24 12:51:31 +00:00
Jeremy Soller f2b8517c31
2.0.1 2022-10-21 15:14:43 -06:00
Jeremy Soller de6e26f520
Add migration guide for 2.0.0 2022-10-21 15:14:31 -06:00
Jeremy Soller 5281982afe
2.0.0 2022-10-21 15:08:08 -06:00
Jeremy Soller 794ba8fc23
Revert "Merge branch 'master' into 'master'"
This reverts commit d96c13560c, reversing
changes made to 583bb40f32.
2022-10-21 10:01:50 -06:00
Jeremy Soller 220c5ebb51
Add self to authors 2022-10-21 10:00:51 -06:00
Jeremy Soller 0082c8da04 Merge branch 'rawterminal-alternatescreen-errors' into 'master'
Improve error handling in the `raw` and `screen` modules

See merge request redox-os/termion!178
2022-10-21 07:09:08 +00:00
Jeremy Soller d96c13560c Merge branch 'master' into 'master'
Added Ctrl/Alt/Shift+Navigation key support

Closes #183 and #169

See merge request redox-os/termion!175
2022-10-21 07:07:26 +00:00
Jeremy Soller 583bb40f32 Merge branch 'add-serde' into 'master'
1.6.0 - add optional serde implementations

See merge request redox-os/termion!176
2022-10-21 06:55:35 +00:00
Jeremy Soller 4f90d4f69e Merge branch 'desc-tweak' into 'master'
tweak description of terminal_size_pixels() to fit in with the rest

See merge request redox-os/termion!169
2022-10-21 06:52:05 +00:00
Jeremy Soller dfdc5e95a0 Merge branch 'mouseterm' into 'master'
Added AsRawFd impl to MouseTerminal

See merge request redox-os/termion!172
2022-10-21 06:50:33 +00:00
Jeremy Soller b4c8320a4c Merge branch 'master' into 'master'
Fix "red" color in example simple.rs

See merge request redox-os/termion!173
2022-10-21 06:49:11 +00:00
Jeremy Soller 557f7a4e6f Merge branch 'master' into 'master'
Annotate the tuple returned by terminal_size()

See merge request redox-os/termion!179
2022-10-21 06:47:13 +00:00
Jeremy Soller 8054e082b0 Merge branch 'more-libc' into 'master'
Use libc to be more resilient and compatible.

See merge request redox-os/termion!181
2021-09-27 22:20:18 +00:00
Luqman Aden 4fafb44f89 Use constants from libc instead of magic numbers. 2021-09-27 07:43:32 -07:00
Luqman Aden 234af89ffb Use libc bindings instead of manual extern blocks to take advantage of platform wrappers in libc crate. 2021-09-27 07:39:06 -07:00
Jeremy Soller e2f8451008 Merge branch 'master' into 'master'
use raw identifier syntax for mod 'async' as it is a keyword since 2018 edition

See merge request redox-os/termion!180
2021-09-14 20:32:27 +00:00
Andreas Blum 1d185e7cab use raw identifier syntax for mod 'async' as it is a keyword since 2018 edition 2021-09-14 22:02:52 +02:00
Richard Bradshaw d6f42c9d61 Annotate the tuple
Make clear that the tuple is (columns, rows).
2021-06-26 18:13:37 +01:00
Lassi Pulkkinen 5d08b65b57
Improve error handling in the `raw` and `screen` modules
- Ignore errors in `Drop` implementations.
- Replace `AlternateScreen::from` with an `IntoAlternateScreen` trait
  which doesn't panic on errors, to make the API more consistent with
  the `raw` module.
2021-06-09 00:28:24 +03:00
Brooks J Rady f094c38d18 1.6.0 - add optional serde implementations 2021-02-16 21:57:41 +00:00
Jeremy Soller dce5e7500f
1.5.6 - upgrade redox_syscall to 0.2 2021-01-26 12:41:55 -07:00
Sebastian Egbers d57468cdc1
Added Ctrl/Alt/Shift+Navigation key support. 2020-10-16 11:26:49 +02:00
Peter Roehlen e0263cbc81 Fix "red" color in example simple.rs 2020-07-18 02:47:46 +00:00
zethra 51a2ebbc73 Added AsRawFd impl to MouseTerminal 2020-07-03 03:06:11 -04:00
Jeremy Soller 189222555e Merge branch 'master' into 'master'
Added AsRawFd impl for RawTerminal

See merge request redox-os/termion!170
2020-06-26 12:20:27 +00:00
zethra c471ab6811 Added AsRawFd impl for RawTerminal 2020-06-26 03:31:48 -04:00
rabite 0e905906d4 tweak description of terminal_size_pixels() to fit in with the rest 2020-05-22 01:09:02 +02:00
Jeremy Soller a448f510f0
1.5.5 - fix warnings 2020-01-20 11:12:03 -07:00
Jeremy Soller 6cb4e3fb75 Merge branch 'cursor-style' into 'master'
feature: changing cursor style

See merge request redox-os/termion!164
2020-01-20 18:04:14 +00:00
Jeremy Soller 24e51d01dd Merge branch 'remove-warnings' into 'master'
fix warnings

See merge request redox-os/termion!165
2020-01-20 18:03:53 +00:00
Jeremy Soller 84c1e9a23d Merge branch 'fix-ci' into 'master'
fix CI config

See merge request redox-os/termion!167
2020-01-20 18:03:05 +00:00
Jeremy Soller 250fb95a9c Merge branch 'master' into 'master'
Avoid allocating temporary Strings in Display implementations

See merge request redox-os/termion!168
2020-01-20 16:18:50 +00:00
lilydjwg f3bd2366ee gitlab pipeline: try to run inside "script" to get a tty 2020-01-18 15:00:59 +08:00
lilydjwg e5e592b559 fix gitlab pipeline 2020-01-18 14:46:37 +08:00
lilydjwg 67fe54119b Avoid allocating temporary Strings in Display implementations 2020-01-18 13:49:20 +08:00
Jeremy Soller c443136bdc
1.5.4 2019-11-29 09:45:48 -07:00
akitsu-sanae 8e89602545 fix CI config 2019-07-25 22:10:45 +09:00
akitsu-sanae a1c43eec08 fix warnings 2019-07-21 01:08:09 +09:00
akitsu-sanae cb16464375 feature: changing cursor style 2019-07-19 05:25:25 +09:00
Jeremy Soller c27678efc2 Merge branch 'bubble-read-errors' into 'master'
Make the keys return their inner error, if any.

See merge request redox-os/termion!162
2019-07-09 01:56:22 +00:00
Jeremy Soller 11fbe71556 Merge branch 'master' into 'master'
Add terminal_size_pixels() to expose terminal's pixel size

See merge request redox-os/termion!163
2019-07-06 18:08:57 +00:00
rabite0 574f863676 Add terminal_size_pixels() to expose terminal's pixel size 2019-07-06 18:08:57 +00:00
Jeremy Soller 7853c0251d
Install stable toolchain for stable test 2019-07-06 12:05:38 -06:00
Jeremy Soller 8ba3ce8260
Do not install stable toolchain unless required 2019-07-06 12:03:41 -06:00
Jeremy Soller db7e73e00a
Install stable toolchain 2019-07-06 12:02:32 -06:00
Jeremy Soller 1008f2021b
Update CI config to use redoxer 2019-07-06 11:48:52 -06:00
Xavier L'Heureux e81a1c4cfc Make the keys return their inner error, if any. For example, when permission to access the TTY is denied, don't loop infinitely and instead return to the outer scope to error and exit (or not) there. 2019-06-26 18:48:53 +00:00
Jeremy Soller 68d765305c Merge branch 'backtab' into 'master'
Backtab key

See merge request redox-os/termion!157
2019-06-12 23:12:12 +00:00
Jeremy Soller c1b4c85a76
1.5.3 2019-06-12 17:05:22 -06:00