sindresorhus / ansi-escapes

ANSI escape codes for manipulating the terminal
MIT License
494 stars 44 forks source link

Fix saving and restoring cursor position on macOS Terminal.app #16

Closed eysi09 closed 5 years ago

eysi09 commented 5 years ago

Fixes #15 (see issue for details).

Here's an example of our CLI output before the fix:

Screenshot 2019-07-31 at 17 34 06

And here's how it looks with the fix:

Screenshot 2019-07-31 at 17 34 47

sindresorhus commented 5 years ago

https://github.com/sindresorhus/ansi-escapes/releases/tag/v4.2.1