From 3b8ef3a0c4b35d70b58cbf3ea4782e38357c4bd3 Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Mon, 10 Feb 2020 23:41:48 +0000 Subject: 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. --- alacritty_terminal/src/tty/unix.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'alacritty_terminal/src/tty/unix.rs') 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; -- cgit