don't flush stdin because it causes problems with ctrl/alt + key

This commit is contained in:
rabite 2020-02-15 16:58:38 +01:00
parent 4b7d83f91a
commit f1fbcf0c36
1 changed files with 0 additions and 1 deletions

View File

@ -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();
}
});