diff options
author | Christian Duerr <contact@christianduerr.com> | 2020-02-10 23:41:48 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-10 23:41:48 +0000 |
commit | 3b8ef3a0c4b35d70b58cbf3ea4782e38357c4bd3 (patch) | |
tree | acf0525aa8d27237250b5ae49909c679df47eca8 /alacritty_terminal/src/tty | |
parent | 5cd13f8c474c71a922e5d8f2b78857badf054f6f (diff) | |
download | alacritty-3b8ef3a0c4b35d70b58cbf3ea4782e38357c4bd3.tar.gz alacritty-3b8ef3a0c4b35d70b58cbf3ea4782e38357c4bd3.zip |
Revert "Fix backspace deleting chars when IME is open"
This reverts commit 7f4dce2ee04859fb0b48f15cf808b60065778703.
Originally it was assumed that macOS always sends the \x7f on backspace
anyways, however this is not true. It seems like the character on
backspace can change even within the same terminal session, so we need
to have our own binding to reliably set the correct binding.
A solution for #1606 should be implemented in cooperation with winit.
Diffstat (limited to 'alacritty_terminal/src/tty')
-rw-r--r-- | alacritty_terminal/src/tty/mod.rs | 1 | ||||
-rw-r--r-- | alacritty_terminal/src/tty/unix.rs | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/alacritty_terminal/src/tty/mod.rs b/alacritty_terminal/src/tty/mod.rs index 425ec4b0..f3e07eb2 100644 --- a/alacritty_terminal/src/tty/mod.rs +++ b/alacritty_terminal/src/tty/mod.rs @@ -13,7 +13,6 @@ // limitations under the License. // //! tty related functionality -use mio; use std::{env, io}; use terminfo::Database; diff --git a/alacritty_terminal/src/tty/unix.rs b/alacritty_terminal/src/tty/unix.rs index 1b01af0f..3be59467 100644 --- a/alacritty_terminal/src/tty/unix.rs +++ b/alacritty_terminal/src/tty/unix.rs @@ -18,7 +18,6 @@ use crate::config::{Config, Shell}; use crate::event::OnResize; use crate::term::SizeInfo; use crate::tty::{ChildEvent, EventedPty, EventedReadWrite}; -use mio; use libc::{self, c_int, pid_t, winsize, TIOCSCTTY}; use log::error; |