mirror of https://github.com/bobwen-dev/hunter
don't flush stdin because it causes problems with ctrl/alt + key
This commit is contained in:
parent
4b7d83f91a
commit
f1fbcf0c36
|
@ -572,7 +572,6 @@ fn input_thread(tx: Sender<Events>, rx_input_request: Receiver<()>) {
|
|||
input.map(|input| {
|
||||
tx.send(Events::InputEvent(input)).unwrap();
|
||||
rx_input_request.recv().unwrap();
|
||||
term::flush_stdin();
|
||||
}).map_err(|e| HError::from(e)).log();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue