Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvement performance of the .clear() method #171

Closed
wants to merge 2 commits into from

Commits on Feb 18, 2021

  1. indent-issue test now passes

    changes:
    - including spinner.indent in the calculation of lineCount
    
    - calling updateLineCount in indent setter
    moofoo committed Feb 18, 2021
    Configuration menu
    Copy the full SHA
    420b08f View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2021

  1. Improvements to clear method

    - cursorTo is called the minimal number of times necessary: to set the cursor position to the start of the line to set up the clearLine(1) loop, and after the loop to reset the cursor (if necessary)
    
    - clearLine(0) and clearLine(-1) cause flickering issues in Windows terminals when executed on an interval. Using clearLine(1) resolves that issue.
    moofoo committed Feb 19, 2021
    Configuration menu
    Copy the full SHA
    8344e39 View commit details
    Browse the repository at this point in the history