nitro icon indicating copy to clipboard operation
nitro copied to clipboard

fix: remove double spaces in nitrogen logs

Open AgustinMJ opened this issue 3 months ago • 3 comments

Removes unnecessary spaces when creating a Nitro Module using nitrogen (see screenshot below).

Screenshot 2025-09-19 at 15 21 36

If these spaces were intentional, feel free to close this PR. I just started trying Nitro Modules and noticed it. I'd love to learn and contribute to this project. Looks like a great, easy first contribution!

AgustinMJ avatar Sep 19 '25 13:09 AgustinMJ

@AgustinMJ is attempting to deploy a commit to the Margelo Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Sep 19 '25 13:09 vercel[bot]

hm, some terminals render this incorrectly as 1-width instead of 2-width. I use macOS default Terminal.app, and without the double space some emojis render as one width, even if there is a space.

We could try if replacing the extra space with \u200A or \u200B (zero-width) works consistently for all terminals?

mrousavy avatar Sep 22 '25 08:09 mrousavy

hm, some terminals render this incorrectly as 1-width instead of 2-width. I use macOS default Terminal.app, and without the double space some emojis render as one width, even if there is a space.

We could try if replacing the extra space with \u200A or \u200B (zero-width) works consistently for all terminals?

will have a look! thanks for checking!

AgustinMJ avatar Oct 08 '25 13:10 AgustinMJ