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:
parent
2672770683
commit
74039bde12
|
@ -630,7 +630,6 @@ impl<'a, T: EventListener, A: ActionContext<T>> Processor<'a, T, A> {
|
||||||
self.ctx.write_to_pty(bytes);
|
self.ctx.write_to_pty(bytes);
|
||||||
|
|
||||||
*self.ctx.received_count() += 1;
|
*self.ctx.received_count() += 1;
|
||||||
self.ctx.terminal_mut().dirty = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Reset mouse cursor based on modifier and terminal state.
|
/// Reset mouse cursor based on modifier and terminal state.
|
||||||
|
|
Loading…
Reference in New Issue