termion issueshttps://gitlab.redox-os.org/redox-os/termion/-/issues2018-10-15T22:28:37Zhttps://gitlab.redox-os.org/redox-os/termion/-/issues/24Make `Key` a clone type2018-10-15T22:28:37ZMichael Aaron Murphymmstick@pm.meMake `Key` a clone type*Created by: MovingtoMars*
This would be helpful, especially considering `Key` is a relatively small type.
*Created by: MovingtoMars*
This would be helpful, especially considering `Key` is a relatively small type.
https://gitlab.redox-os.org/redox-os/termion/-/issues/74read_passwd no longer works2018-10-15T22:28:37ZJeremy Sollerread_passwd no longer worksRead password is now echoing password bytes. This can be seen in the login prompt on RedoxRead password is now echoing password bytes. This can be seen in the login prompt on Redoxhttps://gitlab.redox-os.org/redox-os/termion/-/issues/63async_stdin do not receive piped output2018-06-16T04:18:40ZMichael Aaron Murphymmstick@pm.measync_stdin do not receive piped output*Created by: aleksander*
termion 1.1.1
I don't know actually is this a bug or intented behaviour. Could someone please clarify?
``` Rust
extern crate termion;
fn main() {
use termion::input::TermRead;
let mut stdin = std::io::...*Created by: aleksander*
termion 1.1.1
I don't know actually is this a bug or intented behaviour. Could someone please clarify?
``` Rust
extern crate termion;
fn main() {
use termion::input::TermRead;
let mut stdin = std::io::stdin().keys();
loop {
let s = stdin.next();
if let Some(some) = s {
println!("{:?}", some);
if let Ok(termion::event::Key::Char('q')) = some {
break;
}
}
}
}
```
I pipe "ABC" to this app with command 'echo "ABC" | app'. It works as expected: echo output piped to my app stdin and input I do from keyboard doesn't have effect.
```
$ echo "ABC" | RUST_BACKTRACE=1 ./target/debug/tt
Ok(Char('A'))
Ok(Char('B'))
Ok(Char('C'))
Ok(Char('\n'))
```
But if I change
``` Rust
let mut stdin = std::io::stdin().keys();
```
to
``` Rust
let mut stdin = termion::async_stdin().keys();
```
then echo output do not piped to my app, but my app gets input from keyboard.
Why is that so?
```
```
https://gitlab.redox-os.org/redox-os/termion/-/issues/83User-perceived character alignment2018-06-16T04:18:40ZMichael Aaron Murphymmstick@pm.meUser-perceived character alignment*Created by: jtomschroeder*
When writing characters of multiple codepoints (e.g. ❤), text does not appear aligned.
![screen shot 2016-12-21 at 2 22 23 pm](https://cloud.githubusercontent.com/assets/1320768/21404895/f68ab0fe-c788-11e6...*Created by: jtomschroeder*
When writing characters of multiple codepoints (e.g. ❤), text does not appear aligned.
![screen shot 2016-12-21 at 2 22 23 pm](https://cloud.githubusercontent.com/assets/1320768/21404895/f68ab0fe-c788-11e6-896e-2559e78042ad.png)
https://gitlab.redox-os.org/redox-os/termion/-/issues/121Maybe a missing `extern crate sys;`2018-06-16T04:18:40ZMichael Aaron Murphymmstick@pm.meMaybe a missing `extern crate sys;`*Created by: TimonPost*
When I build the code whit cargo I get the following errors:
![image](https://user-images.githubusercontent.com/19969910/29753723-db3443c0-8b77-11e7-8acd-f530ec88681e.png)
**details:**
Terminal: windows ter...*Created by: TimonPost*
When I build the code whit cargo I get the following errors:
![image](https://user-images.githubusercontent.com/19969910/29753723-db3443c0-8b77-11e7-8acd-f530ec88681e.png)
**details:**
Terminal: windows terminal, git bash terminal.
version: termion v1.5.1
**code that I tried to execute:**
```
extern crate termion;
fn main()
{
print!("{}{}Stuff", termion::clear::All, termion::cursor::Goto(1, 1));
}
````
**cargo.toml**
```
[dependencies]
termion = "1.0.0"
```