From 74039bde1249ad77fe8d2d85ec6eb1f363f5c511 Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Mon, 3 Feb 2020 02:40:38 +0000 Subject: [PATCH] Remove unsetting of dirty flag on key press There's no reason why we should ever manually set the terminal to not be dirty, since this can lead to a lot of other logic being affected. This also does not have any benefit and was likely added in the event loop rework as a bug (probably should have been dirty = true). --- alacritty/src/input.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/alacritty/src/input.rs b/alacritty/src/input.rs index 018140a9..b0953cd6 100644 --- a/alacritty/src/input.rs +++ b/alacritty/src/input.rs @@ -630,7 +630,6 @@ impl<'a, T: EventListener, A: ActionContext> Processor<'a, T, A> { self.ctx.write_to_pty(bytes); *self.ctx.received_count() += 1; - self.ctx.terminal_mut().dirty = false; } /// Reset mouse cursor based on modifier and terminal state.