Commit Graph

285 Commits

Author SHA1 Message Date
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
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
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
Jeremy Soller ce6b43d071 Merge branch 'suspend-raw' into 'master'
Add ability to suspend/activate raw mode on RawTerminal

See merge request redox-os/termion!150
2018-10-15 23:27:45 +00:00
Nathan Lilienthal b64b10f40b Add ability to suspend/activate raw mode on RawTerminal 2018-10-12 01:40:18 -04:00
Michael Aaron Murphy d2945cd36c Merge branch 'mggmuggins/ci' into 'master'
Reconfigure CI

See merge request redox-os/termion!148
2018-08-20 22:19:19 +00:00
SamwiseFilmore 377dca1304 Reconfigure CI 2018-08-20 22:19:19 +00:00
Michael Aaron Murphy c25f4f3d30 Merge branch 'extra-derives' into 'master'
Extra derives & performance optimizations

See merge request redox-os/termion!149
2018-08-20 22:11:58 +00:00
Michael Aaron Murphy acd94a3625 Extra derives & performance optimizations 2018-08-20 22:11:58 +00:00
Jeremy Soller 130fc9acf5 Update links to gitlab 2018-06-12 12:30:45 -06:00
Michael Aaron Murphy c652dfc91f Update .gitlab-ci.yml 2018-06-10 06:08:07 +00:00
Michael Aaron Murphy 5c584dbeaf Attempt to fix GitLab CI 2018-06-10 05:55:53 +00:00
Michael Aaron Murphy 96b1196ff3 Add .gitlab-ci.yml 2018-06-10 05:16:45 +00:00
Alex Yankov 6c6b240961 Reset style in color example before exit (#138) 2018-05-08 20:44:29 -07:00
Josh Mcguigan a29929ee34 Corrected all remaining build warnings 2018-05-08 17:34:43 -07:00
Daniel Mueller b9881e122a Remove unused import of std::ascii::AsciiExt (#142)
The import of std::ascii::AsciiExt in src/event.rs is unused. Remove it.

> warning: unused import: `std::ascii::AsciiExt`
>  --> src/event.rs:4:5
>   |
> 4 | use std::ascii::AsciiExt;
>   |     ^^^^^^^^^^^^^^^^^^^^
>   |
>   = note: #[warn(unused_imports)] on by default
2018-05-08 17:31:47 -07:00
Daniel Mueller 047cbc0cab Remove unused 'mut' qualifier in src/input.rs (#143)
This change removes an unused 'mut' qualifier of the 'source' variable
in src/input.rs.

> warning: variable does not need to be mutable
>   --> src/input.rs:52:13
>    |
> 52 |         let mut source = &mut self.source;
>    |             ----^^^^^^
>    |             |
>    |             help: remove this `mut`
>    |
>    = note: #[warn(unused_mut)] on by default
2018-05-08 17:30:31 -07:00