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
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
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
Jeremy Soller
c70e6074f4
Merge branch 'raw' into 'master'
...
Use stdout to get and set terminal attributes
See merge request redox-os/termion!161
2019-06-12 22:59:41 +00:00
Michael Bradshaw
1c936ca06c
Use stdout to get and set terminal attributes
2019-06-12 22:59:41 +00:00
Jeremy Soller
a69af17888
Support redox target os with unix target family
2019-04-21 16:57:34 -06:00
Jeremy Soller
5992932c65
Merge branch 'master' into 'master'
...
Make Color extend Debug
See merge request redox-os/termion!159
2019-04-06 12:38:20 +00:00
Ophir LOJKINE
d3a7878fb4
Make Color extend Debug
2019-03-11 13:58:35 +01:00
scauligi
7f81389fc8
backtab key
2019-02-19 23:58:19 -08:00
Jeremy Soller
cd8a90a287
Merge branch 'master' into 'master'
...
Add a HideCursor wrapper type acting like AlternateScreen
See merge request redox-os/termion!154
2019-01-28 20:29:25 +00:00
Matthias Devlamynck
5301d8621a
Merge remote-tracking branch 'origin/master'
2019-01-28 19:55:09 +01:00
Jeremy Soller
c04fd9dce9
Merge branch 'fix-tiocgwinsz-dragonfly' into 'master'
...
Fix TIOCGWINSZ type mismatch on DragonFly
See merge request redox-os/termion!152
2018-12-29 13:55:12 +00:00
Michael Neumann
0837ad5ab1
Fix TIOCGWINSZ type mismatch on DragonFly
...
Below is the error message I got before this patch:
error[E0308]: mismatched types
--> src/sys/unix/size.rs:17:34
|
17 | cvt(ioctl(STDOUT_FILENO, TIOCGWINSZ, &mut size as *mut _))?;
| ^^^^^^^^^^ expected u64, found u32
help: you can cast an `u32` to `u64`, which will zero-extend the source value
|
17 | cvt(ioctl(STDOUT_FILENO, TIOCGWINSZ.into(), &mut size as *mut _))?;
| ^^^^^^^^^^^^^^^^^
2018-12-29 13:30:22 +01:00