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
Josh Mcguigan
3cb1bd4b57
Merge pull request #145 from JoshMcguigan/master
...
Fix detect cursor position reading extra byte
2018-05-08 04:40:57 -07:00
Josh Mcguigan
17fdd50823
Added async_stdin_until function to be used in cursor_pos
2018-05-07 17:13:55 -07:00
Jeremy Soller
ac1f828940
Merge pull request #147 from sirtrollraptor/update-repo-refs
...
Update references to repository
2018-05-06 19:21:25 -06:00
Robert Metcalf
7d97b6424f
Update references to repository
2018-05-07 01:41:46 +01:00
ticki
b3e0bbdfb7
Merge pull request #127 from nivkner/term_size
...
use `TIOCGWINSZ` directly from `libc`
2017-11-22 14:21:06 +01:00
Niv Kaminer
00f87e5ed8
use `TIOCGWINSZ` directly from `libc`
2017-10-11 13:06:09 +03:00
ticki
52a22ea873
Bump to 1.5.1.
2017-08-04 00:13:00 +02:00
ticki
792274a641
Merge pull request #119 from redox-os/redox_termios
...
Move system specific features into sys module
2017-08-03 10:19:32 +02:00
Jeremy Soller
18e589b9d9
Add cursor position save/restore
2017-08-02 20:07:37 -06:00
Jeremy Soller
cd455e8358
Move system specific features into sys module
2017-07-31 21:17:47 -06:00
ticki
fafd891966
Merge pull request #116 from jackpot51/patch-1
...
Update tty.rs
2017-07-27 15:01:44 +02:00
Jeremy Soller
da9a604c40
Update tty.rs
2017-07-27 07:00:48 -06:00
ticki
bc33fe1420
Merge branch 'master' of github.com:Ticki/libterm
2017-07-24 18:56:04 +02:00
ticki
5ad83b76ec
Bump to 1.5.0
2017-07-24 18:55:46 +02:00
ticki
994b0af79f
Merge pull request #115 from redox-os/redox_termios
...
Implement size and is_tty with termios on Redox
2017-07-24 18:51:26 +02:00
Jeremy Soller
5fdabb4320
Implement size and is_tty with termios on Redox
2017-07-23 11:38:47 -06:00
ticki
dbf6546b3e
Merge pull request #114 from ftilde/master
...
Add an Iterator on Read that provides both the parsed event and the byte sequence that defines it
2017-07-16 20:43:26 +02:00
ftilde
2f97c69a5c
Add EventsAndRaw iter and implement it for Read
...
- In addition to Events it preserves the byte sequence that created an event. This
is useful, e.g., for implementing a terminal multiplexer where the raw input
should in some cases be passed on to another tty.
- In order to ensure backwards compatibility, the function that creates the trait
is implemented in a separate extension trait.
2017-07-13 01:30:44 +02:00
Matthias Devlamynck
c26d2f0a97
Implement hide cursor wrapper type
2017-07-11 10:29:28 +02:00
ticki
e07cae2a14
Bump to 1.4.0.
2017-06-10 15:00:39 +02:00
ticki
3ea95e10c4
Merge pull request #109 from jackpot51/patch-1
...
Fix raw mode on Redox
2017-06-10 10:18:11 +02:00
Jeremy Soller
75b28bab55
Fix raw mode on Redox
2017-06-08 18:47:12 -06:00
ticki
caa5b3b6c8
Merge pull request #108 from mcgoo/master
...
run travis builds on osx also
2017-06-03 23:34:43 +02:00
Jim McGrath
bd04d82e5d
run travis builds on osx also
2017-06-01 12:48:02 -05:00
ticki
be864ee0e7
Fix version in README.md
2017-04-25 20:25:14 +02:00
ticki
d86a6b2d9b
Merge pull request #100 from IGI-111/linux-function-keys
...
fix #99
2017-03-29 16:11:35 +02:00
IGI-111
bd9e4eb8e1
fix #99
...
Add support for F1-F5 in the linux tty.
2017-03-28 10:06:04 +02:00
ticki
7401830c4f
Bump to 1.3.0
2017-03-24 21:53:40 +01:00