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 | |
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')
-rw-r--r-- | alacritty_terminal/src/ansi.rs | 2 | ||||
-rw-r--r-- | alacritty_terminal/src/term/mod.rs | 2 | ||||
-rw-r--r-- | alacritty_terminal/src/tty/mod.rs | 1 | ||||
-rw-r--r-- | alacritty_terminal/src/tty/unix.rs | 1 |
4 files changed, 0 insertions, 6 deletions
diff --git a/alacritty_terminal/src/ansi.rs b/alacritty_terminal/src/ansi.rs index bac7e0c7..c71d94f9 100644 --- a/alacritty_terminal/src/ansi.rs +++ b/alacritty_terminal/src/ansi.rs @@ -19,8 +19,6 @@ use std::str; use log::{debug, trace}; use serde::{Deserialize, Serialize}; -use vte; - use crate::index::{Column, Line}; use crate::term::color::Rgb; diff --git a/alacritty_terminal/src/term/mod.rs b/alacritty_terminal/src/term/mod.rs index 57733bf5..ae1d7151 100644 --- a/alacritty_terminal/src/term/mod.rs +++ b/alacritty_terminal/src/term/mod.rs @@ -2181,8 +2181,6 @@ impl IndexMut<Column> for TabStops { mod tests { use std::mem; - use serde_json; - use crate::ansi::{self, CharsetIndex, Handler, StandardCharset}; use crate::clipboard::Clipboard; use crate::config::MockConfig; 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; |