The console flickers while using backspace or scrolling although nothing was done.
Analysis:
The flickering results from the console being refreshed without any action, which has been processed. If the relevant actions (backspace and scroll) would return a boolean indicating the success of the action (meaning, if the action could be processed or not), then a refresh would only be needed, if this boolean returns to true.
Implementation:
The fix was implemented as proposed by the analysis. The flickering could be removed for a scroll action, while it is still present, if the backspace is used (and there's actually something, which can be deleted by a backspace). It won't flicker anymore, if there cursor is already at the beginning of the line.
Documentation:
Not needed - bug fix.
Tests:
Backspace and scrolling don't result in flickering any more. The other detected cases are done with #157.
Anonymous
Diff:
Diff:
Diff:
Diff: