This PR addresses issue #13 related to the scrolling functionality in the TextWindow class.
The problem was that styled lines were being cleared before the scrolling action was completed. This was due to the order of operations in the scroll function.
The modification involves changing the order of operations in the scroll function to ensure that the scrolling action is completed before the styled lines are cleared. This provides a smoother user experience and ensures that the styled lines are displayed correctly after scrolling.
Please review and let me know if any changes are required.
Fixes #13.
To checkout this PR branch, run the following command in your terminal:
This PR addresses issue #13 related to the scrolling functionality in the TextWindow class.
The problem was that styled lines were being cleared before the scrolling action was completed. This was due to the order of operations in the scroll function.
The modification involves changing the order of operations in the scroll function to ensure that the scrolling action is completed before the styled lines are cleared. This provides a smoother user experience and ensures that the styled lines are displayed correctly after scrolling.
Please review and let me know if any changes are required.
Fixes #13.
To checkout this PR branch, run the following command in your terminal: