Closed vadimdemedes closed 4 years ago
Notice how the first character is bold:
After opening emoj
, I write something, and when the result with the emojis comes back, everything moves one line up as the output is now larger. The output should be constant.
There should be space above and below the prompt. Here's how the existing emoj
looks:
The emoj arrow picker is not accurate. This is the last tick it stop at before going to position 1 again:
Nothing shows up if I write i like pizza
in the prompt. That works in emoj
v1.
Error with fetching the emojis are not shown until the user exits (Ctrl+C).
β― emoj
βΊ foo
HTTPError: Response code 503 (Service Unavailable)
at stream.catch.then.data (/Users/sindresorhus/dev/oss/emoj/node_modules/got/index.js:182:13)
at process._tickCallback (internal/process/next_tick.js:68:7)
HTTPError: Response code 503 (Service Unavailable)
at stream.catch.then.data (/Users/sindresorhus/dev/oss/emoj/node_modules/got/index.js:182:13)
at process._tickCallback (internal/process/next_tick.js:68:7)
This is looking great. So awesome that we can now just use React!!
Thanks for detailed feedback, fixed everything I could reproduce!
Nothing shows up if I write i like pizza in the prompt. That works in emoj v1.
Tried reproducing that, but results come up all the time for me:
Error with fetching the emojis are not shown until the user exits (Ctrl+C).
Couldn't reproduce this one either. I caused an error by setting an invalid domain name when doing a DNS lookup, but it was correctly handled and offline message was shown.
The indicator is still off:
How about using background for picker indicator?
or use brackets? [π] π π
That's actually not a bad idea, @sindresorhus what do you think? That would help with different widths of emojis.
Good idea. Letβs use background.
@vadimdemedes Want to finish this now that Ink v2 is out?
Yep, will do, added to todo!
I'm just pinging all old PRs.
I implemented the background color selector (and upgraded to latest Ink), but there's something funky going on with how Ink handles background colors. You get this if you select the last item:
Seems like it slices off the end reset ansi escape code or something.
For reference, the first one looks ok:
Hm, couldn't reproduce it with latest emoj. Also tried replacing bgGray
with bgCyan
to make it look like in the screenshot, but didn't help me either. π€·
π₯