da-h / procrastin8

TUI Todo Manager - who doesn't want to make one?
MIT License
0 stars 0 forks source link

Fix Scrolling Issue in TextWindow #14

Closed sweep-ai[bot] closed 1 year ago

sweep-ai[bot] commented 1 year ago

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:

git checkout sweep/fix-textwindow-scrolling-issue