diff options
author | Christian Duerr <contact@christianduerr.com> | 2020-02-03 02:40:38 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-03 02:40:38 +0000 |
commit | 74039bde1249ad77fe8d2d85ec6eb1f363f5c511 (patch) | |
tree | dc9090ede4a2598069c03f1145d985e0f9a97fd5 | |
parent | 2672770683244bdfb55273a11328b874e2d2af04 (diff) | |
download | alacritty-74039bde1249ad77fe8d2d85ec6eb1f363f5c511.tar.gz alacritty-74039bde1249ad77fe8d2d85ec6eb1f363f5c511.zip |
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).
-rw-r--r-- | alacritty/src/input.rs | 1 |
1 files changed, 0 insertions, 1 deletions
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<T>> 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. |