Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: sindresorhus/ora
base: v1.4.0
Choose a base ref
...
head repository: sindresorhus/ora
compare: v2.0.0
Choose a head ref
  • 4 commits
  • 9 files changed
  • 2 contributors

Commits on Feb 21, 2018

  1. Handle wrapping, add hideCursor option (#69)

    * Conform with latest XO
    
    * Handle wrapped text
    
    Count how many rows are taken up by the spinner and the text and clear
    the appropriate number of lines. Fix clear() so it doesn't clear
    *further* lines until render() is called again.
    
    Fixes #38. Fixes #7.
    
    * Add hideCursor option
    
    Fixes #27. Users may still hide the cursor outside of Ora.
    
    * Test with Node.js 8 and 9
    
    * Properly clear empty lines
    
    * Consistently set linesToClear to 0 once cleared
    novemberborn authored and sindresorhus committed Feb 21, 2018
    Configuration menu
    Copy the full SHA
    4df5d19 View commit details
    Browse the repository at this point in the history
  2. Meta tweaks

    sindresorhus committed Feb 21, 2018
    Configuration menu
    Copy the full SHA
    7b2f196 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    210bfb0 View commit details
    Browse the repository at this point in the history
  4. 2.0.0

    sindresorhus committed Feb 21, 2018
    Configuration menu
    Copy the full SHA
    6b95351 View commit details
    Browse the repository at this point in the history