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).
This commit is contained in:
Christian Duerr 2020-02-03 02:40:38 +00:00 committed by GitHub
parent 2672770683
commit 74039bde12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -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.