sindresorhus / ansi-escapes

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

Add `iTerm.annotation()` method #17

Closed boneskull closed 4 years ago

boneskull commented 5 years ago

See https://iterm2.com/documentation-escape-codes.html

Example:

image

sindresorhus commented 5 years ago

Bump

boneskull commented 5 years ago

@sindresorhus OK, just a couple questions in review

boneskull commented 5 years ago

image

boneskull commented 5 years ago

This is ready for another looksee

boneskull commented 5 years ago

ugh, linted again--but it's giving me trouble, and detects a blank line where there is none:

  ✖  140:3  Expected blank line before this statement.  padding-line-between-statements

The problem is that there is no blank line before L140, so I had to disable the rule.