sindresorhus / emoj

Find relevant emoji from text on the command-line :open_mouth: :sparkles: :raised_hands: :horse: :boom: :see_no_evil:
MIT License
2.36k stars 58 forks source link

Clear results when changing search query #25

Closed vadimdemedes closed 7 years ago

vadimdemedes commented 7 years ago

Fixes https://github.com/sindresorhus/emoj/issues/23.

sindresorhus commented 7 years ago

This also clear the result whenever the arrow moves.

vadimdemedes commented 7 years ago

Oops, will fix.

vadimdemedes commented 7 years ago

Fixed. Also fixed a bug, where arrow remained at the same place when new emojis loaded. Now it resets to zero, when there's a new search query.

sindresorhus commented 7 years ago

Works great :)